If you’re having problems with a PHP application on IIS, look no further…
My Setup: Win 2003 Server, PHP5, MySQL 4.x (MySQL 5 has a few buggy issues I don’t like)
- Copy your php_mysql.dll & libmysql.dll to c:\windows\system32\ folder.
- Search your computer for php.ini (the WHOLE computer) and rename all of them except for your PHP root php.ini file (ie: if you installed php in c:\php\ then leave the c:\php\php.ini alone) to php.bak (or delete at your own risk).
- Now, MOVE that file (cut’n'paste) to the c:\windows\ dir
- Restart IIS and check it out.
Some directions say to put the php.ini in System32 - that didn’t work for me. This actually can cause Windows to freak out a little and not look at the correct php.ini. Don’t know why, but it happens.
I know thats short and quick, but hey, after a full day of frustration, thats what worked for me.
