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.
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.
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.
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?
Seamus Muadh...
5 Posts
IIs 6.0, FastCGI 1.5 and PHP 5.3.2
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.
Don
FastCGI ii6 PHP 5.3.2
aka
Don Kidd
Seamus Muadh...
5 Posts
Re: IIs 6.0, FastCGI 1.5 and PHP 5.3.2
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:
http://www.pesi.us/phpinfo.php
aka
Don Kidd
don.raman
1207 Posts
Microsoft
Moderator
Re: IIs 6.0, FastCGI 1.5 and PHP 5.3.2
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.
Thanks,
Don.
Seamus Muadh...
5 Posts
Re: IIs 6.0, FastCGI 1.5 and PHP 5.3.2
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.
FastCGI IIS6 PHP 5.3.2
aka
Don Kidd
don.raman
1207 Posts
Microsoft
Moderator
Re: IIs 6.0, FastCGI 1.5 and PHP 5.3.2
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.
Thanks,
Don.
Seamus Muadh...
5 Posts
Re: IIs 6.0, FastCGI 1.5 and PHP 5.3.2
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.
aka
Don Kidd
don.raman
1207 Posts
Microsoft
Moderator
Re: IIs 6.0, FastCGI 1.5 and PHP 5.3.2
Jun 24, 2010 10:00 PM|LINK
Hi,
Did you follow my blog at http://blogs.iis.net/donraman/archive/2009/10/16/configuring-php-extension-on-windows-a-simple-way.aspx?
MSI doesn't enable any extension unless it is selected at the time of install.
Thanks,
Don.
zakmackraken
6 Posts
Installed FastCGI and PHP latest version, now what?
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.
Seamus Muadh...
5 Posts
Re: Installed FastCGI and PHP latest version, now what?
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: http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/
aka
Don Kidd
zakmackraken
6 Posts
Re: Installed FastCGI and PHP latest version, now what?
Jul 15, 2010 02:01 PM|LINK
Ok. the definite guide for IIS and PHP latest version is the following:
http://it.megocollector.com/?p=1305
I followed all steps and everything works fine now.