If you must use IIS, then this solution would not work. If you just need to get any server up and running with PHP/MySQL on your windows box (...and for that matter on Linux) I really recommend http://www.apachefriends.org/en/xampp.html.
I was pulling my hair out until I found this and was able to install two Linux servers and my workstation in no time. It even helps tighten up the security. 😃
ususim wrote:Hi guys,
I am a newbie to PHP. I have php v5.2 and MySQL v.5.0.18 installed on my computer with IIS v5.1 running.
I installed PHP 5.2 to C:\PHP, not the default C:\program files\PHP as it shown in pop up.
I added the 'ext' folder extracted from the zip package to C:\PHP, edited php.ini file (changed extension_dir="./" to extension_dir="C:\PHP\ext\", and removed ";" infront of ;extension=php_mysql.dll as suggested.)
I copied libmysql.dll file from unzipped pack to C:\Windows\system32 folder
I restarted the IIS.
After finishing all the steps, i tried to create a testing page to show php info, save the page in .php extension, and then try to preview it through firefox and IE, and error pop up.
I am wondering what have i done wrong in the installation process creating the error. Could anyone of you tell me how to set it up step by step? I will really appreciate.
Thank y'all very much!