Update My Own Server From Php4 To Php5

liunx

Guest
Now that the TCH's servers I am hosting my accounts on have both been updated, I need to update my own Windows 2003 server to PHP5 from PHP4. This is the server I have at work for file storage and hosting a few web based applications, so I need to avoid downtime if possible. I am trying to find the best method or procedure possible to do this update. I found this procedure on another website.<br /><br />h**p://www.geekpedia.com/tutorial88_How-to-upgrade-from-PHP-4.x-to-PHP-5.x-on-Windows.html<br /><br />But since it involves uninstalling PHP4 I am weary of trying it in case it doesn't work. Does anyone have any suggestions or comments to get me going?<br /><br />I guess on a side note, instead of creating another thread I need to update MySQL to v5 also, any suggestions or comments about that too?<!--content-->
Since the tutorial you've linked to refers to IIS, I'll assume that's what you're running.<br /><br />You should be able to download the zip package for the latest PHP5 version and extract it to a separate folder. Once you do this, you can change the Application/Extension Mapping to use the PHP5 version.<br /><br />It also appears you may be able to make a copy of the site and change the copy to use the PHP5 executable. This may help in transitioning to the new version while not breaking the old one.<br /><br />With MySQL 4 & 5, I've never tried running them side by side. I'd be interested in knowing how myself if anyone has gotten both to run concurrently.<!--content-->
Have you considered using wamp or xampp in place of IIS?<br /><!--content-->
<!--quoteo(post=216803:date=Nov 26 2007, 01:44 PM:name=TCH-Jesse)--><div class='quotetop'>QUOTE (TCH-Jesse @ Nov 26 2007, 01:44 PM) <a href="http://www.totalchoicehosting.com/forums/index.php?act=findpost&pid=216803"><img src='http://www.totalchoicehosting.com/forums/style_images/1/post_snapback.gif' alt='*' border='0' /></a></div><div class='quotemain'><!--quotec-->You should be able to download the zip package for the latest PHP5 version and extract it to a separate folder. Once you do this, you can change the Application/Extension Mapping to use the PHP5 version.<br /><br />It also appears you may be able to make a copy of the site and change the copy to use the PHP5 executable. This may help in transitioning to the new version while not breaking the old one.<!--QuoteEnd--></div><!--QuoteEEnd--><br />That is what I thought too. After I make the necessary changes and restart IIS, I can't get any php pages to load until I change everything back to point to php4. Any ideas on what I am missing? Is there something else that could be pointing to php4?<br /><!--content-->
I spoke to soon. I forgot to change "Web Service Extensions". <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/wallbash.gif" style="vertical-align:middle" emoid=":wallbash:" border="0" alt="wallbash.gif" /><!--content-->
<img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/thumbup1.gif" style="vertical-align:middle" emoid=":thumbup1:" border="0" alt="thumbup1.gif" /><!--content-->
 
Back
Top