ryan_mortier — 2012-07-10T12:08:00-04:00 — #1
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?
ryan_mortier — 2012-07-10T13:55:29-04:00 — #2
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.
dklynn — 2012-07-11T06:44:02-04:00 — #3
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.
ryan_mortier — 2012-07-11T08:34:45-04:00 — #4
I had a shadow copy ready to be rolled back if I ran into issues but I definitely appreciate the lookout.
dklynn — 2012-07-12T01:57:07-04:00 — #5
Ahhhhh, you like those warm fuzzy things, too, eh?