Partner and Community Forums
PHP 5.3.3 on IIS 6.0 help
Last post May 01, 2013 11:27 PM by eugenm61.
Aug 16, 2010 10:19 PM|charmiemaniar|LINK
I had installed PHP 5.2.5 earlier on my system and phpinfo() was displaying correctly. But mysql module was missing and hence I decided to upgrade to php 5.3.3. But after the upgrade the browser while executing phpinfo() still displays the details of the
older version. When I ask for php version via command prompt it shows me 5.3.3. I have searched and searched but couldn't find anything. I am using pear DB module to connect to the database and it works fine locally but when accessed via browser doesn't work
and gives DB Error: Extension not found. But i have php_mysql.dll file in my php\ext folder and I have mentioned the correct path in the php.ini file.
Also, while installing php 5.3.3 using windows installer I used "Do not setup a web sever option" in the "setup a web server wizard'. Is that alright? I have configured IIS to use phpisapi.dll to execute php extension. Would this work with IIS 6.0? I am
not uding CGI or FastGCI.
Any help would be appreciated.
Aug 16, 2010 10:27 PM|don.raman|LINK
First of all do the following:
Before installing PHP5.3.3 please ensure that you have IIS FastCGI installed. You can also use WPI to install FastCGI. Details at
http://blogs.iis.net/donraman/archive/2009/10/08/upgrading-to-php-5-3-an-easy-way.aspx. Now install PHP5.3.3 (Non Thread Safe VC9 version). At the time of installation chose 'IIS FastCGI' to be configured. Now select all the extensions you want to enable.
Everything should work now and IIS should now show PHP 5.3.3.
Aug 16, 2010 10:32 PM|charmiemaniar|LINK
thanks a lot for your reply. I will give it a try as soon as possible.
Aug 19, 2010 09:34 PM|proque_cu|LINK
Hi charmiemania, did the suggested solution work?
Aug 19, 2010 09:51 PM|charmiemaniar|LINK
I do not have full rights on the server and so I am waiting for my boss to do it. Are you facing the same problem? Sorry I couldn't provide you with a feedback. But it looks perfectly logical and I would assume it should work.
Aug 20, 2010 03:01 PM|proque_cu|LINK
Yep, same issue here, looks like someone else played with it and broke it :s
Will look into it later on today....
Will update it once give it a try, kind of agree with you, it should work.
Aug 20, 2010 03:30 PM|charmiemaniar|LINK
Thanks a lot... please report it if you get it working. It will be a huge help.
Aug 20, 2010 09:45 PM|proque_cu|LINK
Will work on document the steps after the headache may be gone.
Got it to recognize the new version 5.3.3 but currently getting error 500
Aug 23, 2010 02:33 PM|charmiemaniar|LINK
hey I am not sure if this will help you but you can configure your browser to give you detailed error .. in IE you can goto tools tab ->internet options->advanced-> unclick the show friendly http error messages. 500 is a very general error and can mean
Aug 30, 2010 09:07 PM|charmiemaniar|LINK
I got the PHP working but now I am getting an error:
CGI Error: The specified CGI application misbehaved by not returning a complete set of HTTP headers. Does anyone know what to do to rectify this?
Aug 30, 2010 09:34 PM|don.raman|LINK
See if http://support.microsoft.com/kb/145661 helps. And I am assuming you are running a php application and your *.php is mapped correctly to IIS FastCGI dll.
Aug 30, 2010 10:18 PM|charmiemaniar|LINK
Thanks for replying. I have the *.php set to php-cgi.exe. I checked this link, I am not very sure what to do with it. Could you please go in some detail.
Aug 31, 2010 12:51 AM|don.raman|LINK
Since you are on Windows 2003 Sever your *.php should be mapped to fcgiext.dll. Look at
Sep 09, 2010 08:43 PM|proque_cu|LINK
Hello, is it still not working for you?
Sep 10, 2010 03:52 PM|charmiemaniar|LINK
I was preoccupied with something else so didn't get a chance to work on it. But I am planning to work on it now for a couple of hours,....will keep you posted.
thanks for replying
Sep 21, 2010 05:56 PM|mrt1554|LINK
I am having the same issue installing 5.3.3 on IIS 6 (win server 2003). the registry and control panel listing for the PHP application both say 5.3.3 but the phpinfo() still says the old version.
I followed your instructions a couple of times. Even doing a full restart after uninstalls. FastCGI is installed and IIS/PHP is working fine. Registry entry says 5.3.3, control panel -> add/remove programs says 5.3.3.
Anyone else get this resolved?
Apr 29, 2013 02:10 AM|eugenm61.|LINK
Hi, Don, and hello Everyone..
Although the tread is almost 3 years old I foud you guys here and I follow the upgrade to PHP5..3.3 from PHP 5.2.1.
I was happy reading your conclusion on upgrading here saying, that Everything should work now and IIS should now show PHP 5.3.3.
I follow the instructions but no avail..
I got; SERVICE UNAVAILABLE for each webpage, also the asp.net webpage is also affected and shows the same.
In the IIS Manager, though the php mapping to isapi I removed, now I see there a red arrow ponting down..
Any help please on this error?
May 01, 2013 11:27 PM|eugenm61.|LINK
I wish to say that I got the problem solved,.
I got finally The FASTCGI running ,