IIS 5 & IIS 6
IIs 6.0, FastCGI 1.5 and PHP 5.3.2
Last post Jul 15, 2010 02:01 PM by zakmackraken
Jun 24, 2010 03:52 PM|LINK
Are there any known issues or problems with FastCGI working with the new release of PHP 5.3.2? Any changes to the settings or INI? I'm having trouble getting a chat program called LiveZilla up and running and have traced the problems back to PHP and FastCGI.
I'm currently working on a fresh install of PHP using the zip version rather than the MSI version which left some necessary files out of the install. Hopefully that will fix the issue.
If I run into problems, I will post them back here.
Jun 24, 2010 07:04 PM|LINK
I was able to get it up and running with no problems and working with FastCGI as evidenced by this link:
Jun 24, 2010 07:35 PM|LINK
Regarding suggested php.ini settings please read the article at
http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/. This is what is suggested by us. If you have used the PHP5.3.2 Non Thread Safe MSI (available at
http://windows.php.net/downloads/releases/php-5.3.2-nts-Win32-VC9-x86.msi) it will automatically do the suggested settings in php.ini.
Jun 24, 2010 08:30 PM|LINK
What I wound up doing was running the MSI version then copying the php_mbstring.dll from the ZIP version to the PHP\ext\ folder. The MSI is missing that particular dll which even though it is commented out in the PHP.INI throws an error message when php-cgi.exe
is run. BTW, thanks to your blog and the tests you gave, I was able to figure out the problem and correct it. Thank you Mr. Raman.
Jun 24, 2010 08:38 PM|LINK
Happy to know that it solved your problem.
However I would advise refrain from copying DLL's from here and there. MBSTRING is very much part of MSI. Please use the blog at
http://blogs.iis.net/donraman/archive/2009/10/16/configuring-php-extension-on-windows-a-simple-way.aspx to configure PHP extension available in the installer. It is easy and configures your php.ini file as well.
Jun 24, 2010 08:58 PM|LINK
I installed the MSI version three different times and every time the only dll's in the ext folder were three mysql dll's. Now the first time, I did not use the NTS version but the other two times I did use it and also installed the C++ 2008 runtime prior
to the install. I had also installed the FastCGI prior to the install and selected that option on the install however it did not install or place MBSTRING in any of the folders. I think someone needs to take a look at that MSI and recompile it. Thanks again
for your indirect help and the links you posted above.
Jun 24, 2010 10:00 PM|LINK
Did you follow my blog at
MSI doesn't enable any extension unless it is selected at the time of install.
Jun 25, 2010 10:32 AM|LINK
I have an IIS6 and my home directory is wwwroot. The developer made a contact form based on php, so in order the form in my default site to work, I had to install PHP, so installed PHP and FastCGI but still the contact form doesnt work.
I suppose that i have to select the right DLL in the ISAPI filter or at Mappings tab for my Default website, right? Which one should I choose?
Thanks in advance.
Jun 25, 2010 01:12 PM|LINK
I used the directions on this web site for the FastCGI, the manual ones to get mine going. They are located here:
Jul 15, 2010 02:01 PM|LINK
Ok. the definite guide for IIS and PHP latest version is the following:
I followed all steps and everything works fine now.