php4 question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • whoreans
    Confirmed User
    • Jun 2001
    • 1407

    #1

    php4 question

    i heard this language is fast but i think its making my server load higher than before!

    any one here uses php scripts? or php in your html? anything happened to your server?
  • JackFoley
    Confirmed User
    • Jul 2001
    • 858

    #2
    Depends on what you use it for. Anything that has to be processed by the server before it gets sent to the browser will increase server load.
    SUBMIT | TRADE | CONTACT

    Comment

    • Robert
      Ask me about negative cash flow
      • Feb 2001
      • 533

      #3
      php works perfect here. no problems found.

      ------------------
      Smashing Thumbs TGP
      SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.

      Comment

      • Fart
        Confirmed User
        • Feb 2001
        • 144

        #4
        It surely will increase the server load a bit but you could as well say I am just serving static pages because of that.

        Php is great, I'd strongly recommend that you start using it. The thing I like most is it is pretty easy to learn, there is no chmod stuff as with perl scripts, and you have all the code right in the html pages, not in separate files distributed all ver the place.

        I have almost no page WITHOUT php and can't see a huge difference in server speed. And you always could upgrade the cpu and RAM in case you need it.



        ------------------
        AVS that converts AND sends traffic. Be a good guy and use my link: ProAdult

        (Fairly new, so you won't share the link list traffic with 10,000 other webmasters over there :D )
        AVS that converts AND sends traffic. Be a good guy and use my link: ProAdult

        (Fairly new, so you won't share the link list traffic with 10,000 other webmasters over there :D )

        Comment

        • echo465
          Confirmed User
          • Mar 2001
          • 265

          #5
          I like PHP because it works no matter what browser the surfer has. They can disable javascript, but not PHP.

          What are you using it for?
          Currently Promoting: Adult Movie Club

          Comment

          • Lane
            Will code for food...
            • Apr 2001
            • 8496

            #6
            php is cool
            a lot better than perl

            i heard its even faster than C/Cgi in some cases

            Comment

            • FADE19
              Snow's Parole Officer
              • Sep 2001
              • 1161

              #7
              I come a Microsoft background using ASP/SQL and found that the switch to PHP/MySQL was pretty easy..in alot of cases I like PHP more so. Most of my site is coded in it and more bang for your dollar PHP has ASP beat hands down..thank-god for open source

              FADE

              oh PS....That there PERL is the Devil's work

              ------------------
              Admin
              HTTP://www.itsyourass.com

              Comment

              • ronnie
                Registered User
                • Jul 2001
                • 19

                #8
                I have nothing but good to say about php. I have done some incredible things with it. Plus like every one says, it is EASY to learn. Have'nt found much I can't do with it. It can also do alot more than serve dynamic code on a html page.

                ronnie

                Comment

                • Osholio
                  Confirmed User
                  • Sep 2001
                  • 99

                  #9
                  Originally posted by whoreans:
                  i heard this language is fast but i think its making my server load higher than before!

                  any one here uses php scripts? or php in your html? anything happened to your server?
                  Two things to try, if you haven't already:

                  Firstly, make sure that the webserver has the Zend Optimizer installed, it makes a noticable difference in speed, get it free from http://www.zend.com

                  Secondly, to speed things up further, and protect your code from others if you're on a poorly secured virtual host, cough up some cash for Zend Encoder Unlimited ($50 a month as part of the zend developer's suite) and it'll encrypt and run the first couple of optimizer passes on your code, which will also speed things up and reduce the load on your server.

                  Oh, and this is my first post, be gentle with me

                  Comment

                  • Nysus
                    Confirmed User
                    • Aug 2001
                    • 7817

                    #10
                    Tip: Never try to program at 2 AM when plastered. It just doesn't work.

                    I'd just like to point out, if something is poorly coded whether it be using perl, c/c++, asp*cough-crap-cough*, or php, it will increase the load time. So there is a possibility that you have a script that eats away at the memory. Or maybe your server just has problems with setup/memory leak.

                    Cheers

                    Nysus Hosting - Starts @ $1.75/GB - As low as $1.27/GB

                    icq: 129060301
                    What name is pr0 / Untouched Markets using these days? Untouched Markets - pr0 - Refund My Money Now

                    Someone owes me $2,000 because they didn't do any work that was paid for *pointing at pr0 / William / UntouchedMarkets*

                    See http://www.gfy.com/showthread.php?p=16744521 and for more detailed see http://www.gfy.com/showthread.php?t=948645

                    Comment

                    • freeones
                      Confirmed User
                      • Jul 2001
                      • 3406

                      #11
                      The PHP-mod will double the server load for your httpd connection!!!!!!! Somebody said it's even faster than C++. Well I can tell you it's certainly not. PHP is very popular because it's so easy to learn, but is certainly slow down your server. Perl and C++ rules! If you don't have a high traffic site then PHP could work fine for you.....

                      The new FreeOnes! - AdultFilmStarContent - BabeGalleries and much more! - 1Strike Movies and much more! All powered by Xpressa

                      Comment

                      • whoreans
                        Confirmed User
                        • Jun 2001
                        • 1407

                        #12
                        HAHHA! I KNEW IT!

                        thx

                        Comment

                        • The Hun
                          Confirmed User
                          • Jan 2001
                          • 1207

                          #13
                          PHP is not faster than C++, but it sure is better than some other server-side software. It's stable and not very hard to learn. I've been programming pretty much everything in C and C++ 'till I found PHP. PHP has all features that many webmasters are looking for included in it.

                          Comment

                          • Osholio
                            Confirmed User
                            • Sep 2001
                            • 99

                            #14
                            The Hun's correct. PHP is slower than C/C++, uses more server resources etc, but it's a shitload faster to get stuff done using PHP.

                            After all, if you only care about speed you'd be using Tux as your webserver with all static content Memories cheap, and time is too short to worry about coding your CGI app / Apache module from scratch, just do it in PHP and have time left to do the fun things in life, like eat and sleep

                            Comment

                            • Nysus
                              Confirmed User
                              • Aug 2001
                              • 7817

                              #15
                              Originally posted by The Hun:
                              PHP is not faster than C++, but it sure is better than some other server-side software. It's stable and not very hard to learn. I've been programming pretty much everything in C and C++ 'till I found PHP. PHP has all features that many webmasters are looking for included in it.
                              Aw damn -- you code! I was hoping to be able to offer to modify a TGP script I made to test to let you use on The Hun. Offer's still open though.

                              OH -- and I'd most likely be able to put a stop to all those auto-submitters, if you'd want to. Of course lazy people would hate me then.

                              Cheers

                              Nysus Hosting - Starts @ $1.75/GB - As low as $1.27/GB

                              icq: 129060301

                              [This message has been edited by Nysus (edited 09-09-2001).]
                              What name is pr0 / Untouched Markets using these days? Untouched Markets - pr0 - Refund My Money Now

                              Someone owes me $2,000 because they didn't do any work that was paid for *pointing at pr0 / William / UntouchedMarkets*

                              See http://www.gfy.com/showthread.php?p=16744521 and for more detailed see http://www.gfy.com/showthread.php?t=948645

                              Comment

                              • Jade
                                Confirmed User
                                • Jun 2001
                                • 329

                                #16
                                I love php and use it extensively on my site. You can see some good examples of it in use at http://www.i-blowjob.com

                                Kisses,

                                Jade

                                Cum see me at http://BlowjobJade.com

                                Comment

                                • Phiber
                                  Confirmed User
                                  • May 2001
                                  • 137

                                  #17
                                  php is too easy, not realy a sport but then again its the best if you dont use it on really high trafic sites. If you do there are only one option and that is C++

                                  check out http://www.php.net
                                  Once again do I wear my golden pilot shades and the gold chains.

                                  Comment

                                  • TFCash
                                    Confirmed User
                                    • Apr 2001
                                    • 1738

                                    #18
                                    Originally posted by whoreans:
                                    i heard this language is fast but i think its making my server load higher than before!
                                    Can you give me an example of what you mean by the server load is higher?? I.E. last week before we compiled php into our apache the server load was .07/.08/.08 now it is 1.1/1.1/1.3

                                    Just to let you know my experience with php, it can be much faster than a perl or c++ script depending on what you are doing since php is tied into apache and does not have to create a userspace to run within, so if you are doing lot's of little things with php it will be much faster that a perl / c++ script any day of the week!!! If you are opening up an sql DB and crunching a lot of data then spitting it back out, you might be better off rewriting in C++ to gain some speed and reduce system performance issues. I've written sites that get 50K unq a day that the whole site was pulled from an SQL database and was 100% php and we had no performance issues. A lot of it might be your code!!


                                    Tim
                                    TeenFlood.com Online since 1998.

                                    TFCash KissMeGirl
                                    VirginRiches MondoBucks

                                    tim at tfcash.com or submit a ticket at our HelpDesk

                                    Comment

                                    • Boneified
                                      Registered User
                                      • Sep 2001
                                      • 24

                                      #19
                                      There are lots of free scripts and resources on PHP at http://php.resourceindex.com/

                                      Just an extra tip
                                      eClickz.net - Your #1 Choice in Dialers
                                      ------------------------------

                                      Comment

                                      Working...