daprezjer Posted January 16, 2008 Share Posted January 16, 2008 I have Microsoft Server 2003 with IIS and PHP 5.04. I want to upgrade to the latest version of PHP, 5.25. After copying my php.ini file for safekeeping, I downloaded the installation package. It asked me to choose a server to install, but since I already have IIS installed, I chose none. Then it seemed to run through fine, doing a quick installation. My phpinfo file, however, still lists 5.04. I then chose IIS/Fast CGI for the server, but there's still no change.Any idea of what I need to do? Thanks, Jeremy Quote Link to comment https://forums.phpfreaks.com/topic/86377-upgrading-php-on-windows-iis-installation/ Share on other sites More sharing options...
daprezjer Posted January 16, 2008 Author Share Posted January 16, 2008 PS. I see on a PHP install page that it says "To upgrade, run the installer either graphically or from the command line as normal. The installer will read your current install options, remove your old installation, and reinstall PHP with the same options as before. It is recommended that you use this method of keeping PHP updated instead of manually replacing the files in the installation directory." But my old installation is not being removed as far as I can tell, and it's certainly not recognizing it. Quote Link to comment https://forums.phpfreaks.com/topic/86377-upgrading-php-on-windows-iis-installation/#findComment-441376 Share on other sites More sharing options...
PFMaBiSmAd Posted January 16, 2008 Share Posted January 16, 2008 Assuming that the .msi installer version of PHP works as advertised (in the few cases I used it and helped others use it, it did not operate as expected) you need to stop and start the IIS windows service in the control panel to get it to reload php. Just stopping and starting the web server in the IIS management console does not reload php. Quote Link to comment https://forums.phpfreaks.com/topic/86377-upgrading-php-on-windows-iis-installation/#findComment-441386 Share on other sites More sharing options...
daprezjer Posted January 16, 2008 Author Share Posted January 16, 2008 Sounds like a plan. Sorry, I can't figure out how to restart it in the control panel. Can you give me some advice on that? Quote Link to comment https://forums.phpfreaks.com/topic/86377-upgrading-php-on-windows-iis-installation/#findComment-441394 Share on other sites More sharing options...
daprezjer Posted January 16, 2008 Author Share Posted January 16, 2008 Well, I restarted it. Went to the IIS manager, right clicked on the computer, and went to "tasks" > "restart." Nothing, still 5.04. Quote Link to comment https://forums.phpfreaks.com/topic/86377-upgrading-php-on-windows-iis-installation/#findComment-441400 Share on other sites More sharing options...
daprezjer Posted January 16, 2008 Author Share Posted January 16, 2008 BTW, when I go to Add/Remove program, both versions of PHP are installed, both 5.04 and 5.25. I could uninstall 5.04 but I'm afraid that 5.25 might not show. Quote Link to comment https://forums.phpfreaks.com/topic/86377-upgrading-php-on-windows-iis-installation/#findComment-441406 Share on other sites More sharing options...
daprezjer Posted January 16, 2008 Author Share Posted January 16, 2008 Also, when I look in my file system, I believe there's the old PHP installation at C:/PHP and the new one at C:/Program Files/PHP, but the environmental variables show C:/Program Files/PHP/, so if anything it should be looking at the new one. Quote Link to comment https://forums.phpfreaks.com/topic/86377-upgrading-php-on-windows-iis-installation/#findComment-441418 Share on other sites More sharing options...
PFMaBiSmAd Posted January 16, 2008 Share Posted January 16, 2008 The IIS settings contain the path to the php files. Since the new version of php is in a different location (did not actually replace the previous php files) you will either need to change the IIS settings to point to the new php files or overwrite the previous files with the the new ones. Quote Link to comment https://forums.phpfreaks.com/topic/86377-upgrading-php-on-windows-iis-installation/#findComment-441434 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.