hello everyone,
right now i am using php4.3.10 version and i want to switch on php 4.4.4 or 4.4.5 version. i am trying to upgrate my php version but after installation my phpinfo() page show me again php 4.3.10. can anybody tell me that what can i do for upgrating my php version.

    right now i am using php4.3.10 version and i want to switch on php 4.4.4 or 4.4.5 version. i am trying to upgrate my php version but after installation my phpinfo() page show me again php 4.3.10. can anybody tell me that what can i do for upgrating my php version.

    PHP 4.4.4 and PHP 4.4.5 are still releases in the PHP 4 release series. If you want to upgrade from PHP 4.3.10 to PHP 4.4, then you might as well upgrade to PHP 4.4.8 instead of PHP 4.4.5. However, in less than 12 weeks (yes, weeks), PHP 4.4.8 will no longer be officially supported at all, not even to fix major security problems, so you might as well upgrade to the PHP 5.2 series, e.g., PHP 5.2.6.

    If you are interested in doing this, it may be best to uninstall PHP and then follow the instructions for installing PHP 5 as given in the Install forum. Your scripts may break, especially if they rely on settings that were the default in PHP 4 (e.g., register_globals being on).

      laserlight wrote:

      Your scripts may break, especially if they rely on settings that were the default in PHP 4 (e.g., register_globals being on).

      Which is precisely why you should start the upgrade process to PHP5 now on your development server; that way you can see which scripts start generating errors and fix them.

      Plus, if you are in fact relying on such deprecated directives such as register_globals, magic_quotes_gpc, short_tags, etc. then upgrading to PHP5 with the default options will force you to adopt better coding habits! :p

      As laserlight noted, the best bet for you is probably to uninstall PHP and install PHP5 from scratch. Depending on the operating system you're dealing with, there are different ways of installing PHP; for Windows, I prefer to do the manual installation using the .zip archive.

        Write a Reply...