Menu

PHP4

2000-06-09
2000-06-19
  • Joseph Engo

    Joseph Engo - 2000-06-09

    Has anyone played around with PHP4 ?  I heard it was 5 times faster then PHP3.  I am going to test out webdistro with PHP4 today and see if it will work.

     
    • Anonymous

      Anonymous - 2000-06-09

      Yeah..I compiled it on my system, and it runs like a charm. I havent played with the optimizer, but it still **seems** faster to me. I think that it deals with classes differently than PHP3 (and thats why Roy and I were having trouble with config.inc).

      Brian

       
      • Joseph Engo

        Joseph Engo - 2000-06-09

        Great!  I was kind of worried that it wouldn't work.  I was planning on updating my workstation to PHP4 if eveything works out ok.  But, most development will be done on PHP3 for a while.  I have not seen many programs using PHP4 or even servers using it.

        I am still waiting for PHP4 to complie on my experimental server.  Its a P-75 w/ 16 megs RAM.  This is going to take a while.
        BTW: I know its slow, I use it once in a while.  For the things that might break.  There is no way I will put something new on my production server. AMD-350 w/ 64 M RAM.

        Well, at least I can update the FAQ for weather or not it will work on PHP4.
        I am still wonder if it will work on Windows.  Has anyone tested it ?

         
      • Roy Svendsen

        Roy Svendsen - 2000-06-15

        Hmm... Yeah... I've tested the small things you told me.. and that works, but... sorry there is one...!

        I've using auto_prepend_file :-( Then your program get problems...
        First I got Cannot redeclare class db_sql no problem.. remove include db_mysql.inc
        Second.. Cannot redeclare session... Urk.....

        It look like I've got to whait for an version that support auto_prepend_file!

         
      • Roy Svendsen

        Roy Svendsen - 2000-06-15

        Hmm... Yeah... I've tested the small things you told me.. and that works, but... sorry there is one...!

        I've using auto_prepend_file :-( Then your program get problems...
        First I got Cannot redeclare class db_sql no problem.. remove include db_mysql.inc
        Second.. Cannot redeclare session... Urk.....

        It look like I've got to whait for an version that support auto_prepend_file!

         
        • Joseph Engo

          Joseph Engo - 2000-06-17

          Are you working on a version to support the auto_prepend_file ?

           
          • Roy Svendsen

            Roy Svendsen - 2000-06-19

            Sorry I'm not!

            I'm currently have only computer at work and I'm going too move to another company with'in 1 month. and I don't have my private computer up running...

            Too me It looks like a rename of some of the classes is needed so they don't come in conflict with prepend.php3 file in PHPLib.

             
    • Roy Svendsen

      Roy Svendsen - 2000-06-19

      Hmmm.....

      It's possible to go around auto_prepend_file by setting
      <i>php_value auto_prepend_file none</i>

      in .htaccess file in every direcrory!

      I'm rebuilding your application to suit my needs so I use
      this line in .htaccess file too (I've collected all the inc
      directories in this dir and put it outside the web see directories)
      php_value include_path ./:/home/httpd/members/php/webdistro

       
    • Roy Svendsen

      Roy Svendsen - 2000-06-19

      Hmmm.....

      It's possible to go around auto_prepend_file by setting
      <i>php_value auto_prepend_file none</i>

      in .htaccess file in every direcrory!

      I'm rebuilding your application to suit my needs so I use
      this line in .htaccess file too (I've collected all the inc
      directories in this dir and put it outside the web see directories)
      php_value include_path ./:/home/httpd/members/php/webdistro

       

Log in to post a comment.

MongoDB Logo MongoDB