Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to upgrade PHP in Windows (IIS)

Status
Not open for further replies.

rhyno2k

IS-IT--Management
Jun 9, 2001
222
US
Hi,


I have a 5.1.2 installation on a Win 2K3 Server / IIS 6 box running fine. Looks like I need to go to 5.1.4 for security fixes.

What's the procedure?

Is it as simple as overwriting the current C:\PHP directory with the 5.1.4 .zip package (preserving PHP.INI of course!), then restarting IIS?


Thanks,
--RHYNO
 
mostly. it depends how you integrated mysql. some peeps go for the quick and dirty way of copying the relevant dlls to the system32 dir. i tend to go the other way and set environmental variables which makes the upgrade as easy as you say. if you go the copying route you have to copy the new dlls across to overwrite those in the sys32 dir.

the sapi is named the same so no changes to iis should be needed (remember to shut down the IIS (net stop w3svc) before extracting the file otherwise it will fail on certain file overwrites.
 
Hi J,

I have PHP setup just from the package (no install). MySQL (v5) was put in via Windows install package. I have the \PHP and \MySql\bin in PATH...

How can I tell which .dlls need to be upgraded in /System32?
 
you'll almost certainly be ok with the path variables set like that.

go for it. (it will be php_mysql.dll and libmysql.dll that cause problems but the path setting should avoid this.)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top