Upgrading PHP (apache module) on Windows from 5.3 to 5.4

I’ve been searching for a while now on how to properly do this with no success.

Unfortunately due to corporate policy, I’m stuck managing Apache and PHP on a Windows server. When I originally set this up, I installed Apache from http://www.apachelounge.com/ and used the official PHP.net installer binary for 5.3.8 to automatically install PHP as a module for apache. Then when updated 5.3 builds came out, I simply downloaded and ran the installer and it properly upgraded PHP to the next minor revision (eg. 5.3.8 to 5.3.10). Now I see that there is no binary for PHP 5.4, just a .ZIP. I’m unsure on how to properly upgrade the server now and can’t find any documentation.

Can anyone point me the right direction here?

Never mind.

Apparently I can just delete the contents of the PHP directory after backing up my php.ini configuration. Then extracting the contents of the .zip into the PHP directory and putting my php.ini back in. Restarted Apache successfully and everything seems to be good to go.

:tup:

Actually, I probably would have installed to a second PHP directory and changed the httpd.conf statement to the new directory for testing … and fast fallback. Since there were no problems (I wouldn’t have expected any), then my “safety feature” would have been extra work for nothing more than a warm, fuzzy feeling.

Regards,

DK

I had a shadow copy ready to be rolled back if I ran into issues but I definitely appreciate the lookout.

RM,

Ahhhhh, you like those warm fuzzy things, too, eh? :smiley:

Regards,

DK