Jump to content


Photo

Should you uninstall current versions when updating to new version PHP>


  • Please log in to reply
3 replies to this topic

#1 Conjurer

Conjurer
  • Members
  • PipPipPip
  • Advanced Member
  • 107 posts

Posted 20 September 2006 - 02:32 AM

Hi,

Getting ready to update the versions of PHP, Apache, and MySQL I am using on my home system. 

What is the best way to go, do I need to unistall the current versions before loading the new versions, or just overwrite them with the new versions.



#2 Conjurer

Conjurer
  • Members
  • PipPipPip
  • Advanced Member
  • 107 posts

Posted 20 September 2006 - 02:51 AM

Maybe I should add - I am currently running Apache 2.0.54 with Win XP Pro and PHP 4.3.11 - it says the server API is CGI/Fast CGI.

I would like to add PHP 5 to the system so I can work in both PHP 4.3 and PHP 5.  Do I need to upgrade Apache to do so? Does Apache 2.0.54 work with PHP 5 and vice versa? If I do need to update Apache, do you uninstall it first or just overwrite the installation?

Thanks

#3 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 20 September 2006 - 09:21 AM

There is no easy way I know of to run PHP4 and PHP5 simulataniously on a single Apache server. Apache2.0.x can work with PHP5 and PHP4 fine.

Prehaps have a read of this tutorial/article over at zend.com. It tells you how to install PHP5 and PHP4 on one Apache server. This requires you to edit the host file - may need to boot into safe mode and login as administrator to edit this file

Also if you wish to update PHP at any time, just download the zipped binaries package, then extract the contents of the zip to where PHP is installed to, you have upgraded PHP! Note if you have moved any PHP files to other location you will have to overwrite those files too with the newer updated files in the zip.



#4 Conjurer

Conjurer
  • Members
  • PipPipPip
  • Advanced Member
  • 107 posts

Posted 20 September 2006 - 01:20 PM

Ok - Maybe I should leave well enough alone - it works so silly me I think I should break it!

Thanks for clarifying this - and pointing me to the tutorial.  I will check that out.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users