RE: How do you all deal with Mysql upgrades?
2006/03/27 06:22:59
(permalink)
Usually php is in c:\php, so copy c:\php to c:\php4, now go into c:\php4 and edit php.ini to reflect to paths like c:\php4\uploadtemp or c:\php4\sessiondata or c:\php4\ext\
Stop IIS, install PHP5 to c:\php, edit php.ini to reflect correct paths and extensions you want like mssql/mysql, copy php.ini to c:\windows
Now all sites will use php 5.1.2, but then if a customer has a problem you go into IIS, home tab of website, configuration and change the php to use "c:\php4\php-cgi.exe" -c c:\php4
Be sure to set permissions on c:\php4\uploadtemp and c:\php4\sessiondata, they need write/modify for everyone, also be sure everyone has read access to c:\php4\ and that you have added under IIS WEB EXTENSIONS to allow c:\php4\php-cgi.exe