Hi there, hope somebody can help! I have PHP 5.2.12 installed and running with the IIS version of fastcgi for my website on my windows server 2k3 box with IIS6. It works fine with no problems except it's a little slow so I want to install this windows cache
extension to speed it up!! I have to do the manual install because the automatic microsoft one wants to install php 5.2.11 in a different location so I do it manually. I've done this several times following the directions to a tee and still get the same error
in the browser after I restart IIS and the application pool.
FastCGI Error The FastCGI Handler was unable to process the request. Error Details: The FastCGI process exited unexpectedly Error Number: -1073741819 (0xc0000005). Error Description: Unknown Error HTTP Error 500 - Server Error. Internet Information Services
(IIS)
This is the error I get on the application event log every time I try to browse the site from a different machine.
Faulting application php-cgi.exe, version 5.2.12.12, faulting module php-cgi.exe, version 5.2.12.12, fault address 0x0000191a. >br> Please help.
<div mce_keep="true">What kind of PHP 5.2.12 did you install? Did you install the Non Thread Safe build of PHP 5.2.12. If not please install Non Thread Safe build of PHP. WINCACHE works only with NTS build of PHP.</div>
<div mce_keep="true">Where from did you install WINCACHE? Please tell more details.You should be copying the php_wincache.dll which is compatible with 5.2.</div>
<div mce_keep="true">Is a simple PHPINFO page is working fine? Or you are getting the above crash for all the sites and even a simple PHPINFO page.</div>
Thanks Don. I'll check on the PHP version as I'm unsure off the top of my head. I downloaded the manual install package from the IIS website and copied the dll file to the ext folder I get the error for all webpages. Thanks!
Please also ensure that manual package you are downloading for WINCACHE is for PHP 5.2. The link to download PHP 5.2 compatible WINCACHE is
http://go.microsoft.com/?linkid=9697970. Yes you will need to copy the php_wincache.dll in the 'ext' folder and change your PHP.INI.
Alright. I've re-downloaded the two things you sent links for, and am still having the same problem. I get the error just trying to run the phpinfo.php script. Still runs fine when I put the semicolon back in the php.ini file. Thanks.
Thanks for sharing the PHPINFO. You are having Thread Safe build of PHP installed and that is the reason WINCACHE is not gettting loaded properly. Please uninstall it and install the Non Thread Safe Build from
http://windows.php.net/download/. Pasting the link below too.
VC6 x86 Non Thread Safe (2009-Dec-16 16:59:24)
Zip [9.94MB] sha1: c038bd0027c8ec997de71aa71c0580ef776c629f
Once the NTS build of PHP is installed you can ensure that it is indeed NTS build by viewing your PHPINFO page and look at "Thread Safety" in the top of the table. It should say Disabled and not Enabled. Currently it is saying enabled. So please install
NTS build of PHP and than use WINCACHE. It should work.
Thanks Don that is now showing up in the phpinfo file like you said it should. However it seemed to break the connection between PHP and mysql. I'm getting a Drupal error saying that it's unable to see the mysql extension that i uncommented! fun times. :)
Good to see that your PHP is working with WINCACHE. I am able to run my Drupal site using PHP 5.2.12 and WINCACHE smoothly. There might be some other issue with MySQL. How did you install MySQL extension? Does the PHPINFO page shows MySQL?
Did you recycle IIS after changing php.ini? FastCGI 1.0 doesn't monitor changes to php.ini and you need to recycle php-cgi.exe processes yourself for php.ini changes to get picked up. FastCGI 1.5 can be configured to recycle php-cgi.exe processes when php.ini
changes.
carmichaelc
9 Posts
FastCGI Handler error after install
Dec 30, 2009 07:04 PM|LINK
FastCGI Error The FastCGI Handler was unable to process the request. Error Details: The FastCGI process exited unexpectedly Error Number: -1073741819 (0xc0000005). Error Description: Unknown Error HTTP Error 500 - Server Error. Internet Information Services (IIS)
This is the error I get on the application event log every time I try to browse the site from a different machine.
Faulting application php-cgi.exe, version 5.2.12.12, faulting module php-cgi.exe, version 5.2.12.12, fault address 0x0000191a. >br> Please help.
PHP IIS wincache php 5.2 fastcgi iis6
don.raman
1207 Posts
Microsoft
Moderator
Re: FastCGI Handler error after install
Dec 30, 2009 07:14 PM|LINK
Hi,
Couple of question:
Thanks,
Don.
carmichaelc
9 Posts
Re: FastCGI Handler error after install
Dec 30, 2009 07:16 PM|LINK
don.raman
1207 Posts
Microsoft
Moderator
Re: FastCGI Handler error after install
Dec 30, 2009 07:21 PM|LINK
Please also ensure that manual package you are downloading for WINCACHE is for PHP 5.2. The link to download PHP 5.2 compatible WINCACHE is http://go.microsoft.com/?linkid=9697970. Yes you will need to copy the php_wincache.dll in the 'ext' folder and change your PHP.INI.
The link to MSI for PHP (Non thread safe vc6 build) is http://windows.php.net/downloads/releases/php-5.2.12-nts-Win32-VC6-x86.msi. This is what you should be using to install PHP.
You should be able to run WINCACHE with the above things.
Thanks,
Don.
carmichaelc
9 Posts
Re: FastCGI Handler error after install
Dec 30, 2009 07:44 PM|LINK
don.raman
1207 Posts
Microsoft
Moderator
Re: FastCGI Handler error after install
Dec 30, 2009 07:55 PM|LINK
Can you disable WINCACHE and somehow allow me to view the PHPINFO page?
Thanks,
Don.
don.raman
1207 Posts
Microsoft
Moderator
Re: FastCGI Handler error after install
Dec 30, 2009 08:08 PM|LINK
Thanks for sharing the PHPINFO. You are having Thread Safe build of PHP installed and that is the reason WINCACHE is not gettting loaded properly. Please uninstall it and install the Non Thread Safe Build from http://windows.php.net/download/. Pasting the link below too.
VC6 x86 Non Thread Safe (2009-Dec-16 16:59:24)
sha1: c038bd0027c8ec997de71aa71c0580ef776c629f
sha1: 0813c603a2032e58e70a6859d69e28530d03fce2
sha1: 5fa74012cac6662f43889e4f0f84a2f2991dddd4
Once the NTS build of PHP is installed you can ensure that it is indeed NTS build by viewing your PHPINFO page and look at "Thread Safety" in the top of the table. It should say Disabled and not Enabled. Currently it is saying enabled. So please install NTS build of PHP and than use WINCACHE. It should work.
Thanks,
Don.
carmichaelc
9 Posts
Re: FastCGI Handler error after install
Dec 30, 2009 08:58 PM|LINK
don.raman
1207 Posts
Microsoft
Moderator
Re: FastCGI Handler error after install
Dec 30, 2009 09:05 PM|LINK
Good to see that your PHP is working with WINCACHE. I am able to run my Drupal site using PHP 5.2.12 and WINCACHE smoothly. There might be some other issue with MySQL. How did you install MySQL extension? Does the PHPINFO page shows MySQL?
Thanks,
Don.
ksingla
1138 Posts
Microsoft
Re: FastCGI Handler error after install
Dec 30, 2009 09:10 PM|LINK
Did you recycle IIS after changing php.ini? FastCGI 1.0 doesn't monitor changes to php.ini and you need to recycle php-cgi.exe processes yourself for php.ini changes to get picked up. FastCGI 1.5 can be configured to recycle php-cgi.exe processes when php.ini changes.
Thanks,
Kanwal