evo_x
asked on
FastCGI error after upgrading to PHP 5.3.3
Server: Windows 2003 Server, IIS 6
Everything worked fine until I have upgraded from PHP 5.1 to 5.3.3 and now when I try to access a php website II get this error:
FastCGI Error
The FastCGI Handler was unable to process the request.
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
Error Details:
•The FastCGI process exited unexpectedly
•Error Number: -2147467259 (0x80004005).
•Error Description: Unspecified error
HTTP Error 500 - Server Error.
Internet Information Services (IIS)
Everything worked fine until I have upgraded from PHP 5.1 to 5.3.3 and now when I try to access a php website II get this error:
FastCGI Error
The FastCGI Handler was unable to process the request.
--------------------------
Error Details:
•The FastCGI process exited unexpectedly
•Error Number: -2147467259 (0x80004005).
•Error Description: Unspecified error
HTTP Error 500 - Server Error.
Internet Information Services (IIS)
ASKER
I did that, but nothing changed.
I can't find the php5isapi.dll file in the PHP distribution ZIP, also the installation did not installed that file.
I can't find the php5isapi.dll file in the PHP distribution ZIP, also the installation did not installed that file.
See the discussion here:
http://boardreader.com/thread/IIS_6_PHP_in_FastCGI_Error_0x80004005_9t83Xotyh.html
Better yet, follow Microsoft's recommendations for installing PHP at this link:
http://blogs.iis.net/donraman/archive/2009/10/07/installing-php-on-windows.aspx
http://boardreader.com/thread/IIS_6_PHP_in_FastCGI_Error_0x80004005_9t83Xotyh.html
Better yet, follow Microsoft's recommendations for installing PHP at this link:
http://blogs.iis.net/donraman/archive/2009/10/07/installing-php-on-windows.aspx
You PHP process is crashing you have to revere to earlier version (if you have backup restore it) or reinstall it again.
ASKER
I have uninstalled PHP and installed from php.iis.net which is an older version (5.2) but I still get the same error.
open cmd and go to c:\php
and then type php-cgi.exe or php.exe and press enter wht messege you get ?
and then type php-cgi.exe or php.exe and press enter wht messege you get ?
ASKER
I don't get any message, just a cursor prompt
ASKER
The PHP is installed in Program Files\PHP and in C:\PHP I have two DLL files ISAPI_FCGI.DLL and NSAPI_FCGI.DLL and PHP.ini
I hope this is not a problem
I hope this is not a problem
add read and write permission on php folder
ASKER
setting the permission did not help
go to command prompt
C>cd c:\program files\php
C:\program files\php>php-v
what out put it show.
C>cd c:\program files\php
C:\program files\php>php-v
what out put it show.
ASKER
I don't have any file called php-v
It is not a php file it will show the php version and display the error if any with php
ASKER
ok, I did that and the php never returns, and the file is 0 bytes
Which file with 0 bytes you refering?
I assuming that your php path is c:\program files\php
I will suggest you to Install PHp from the begining
delete PHP folder from C:\PHp and c:\program files\php
delete any php.ini from windows\system32
Configure the php using any one URL as per your choice.
http://www.visualwin.com/PHP
or
http://www.iisadmin.co.uk/?p=4
I assuming that your php path is c:\program files\php
I will suggest you to Install PHp from the begining
delete PHP folder from C:\PHp and c:\program files\php
delete any php.ini from windows\system32
Configure the php using any one URL as per your choice.
http://www.visualwin.com/PHP
or
http://www.iisadmin.co.uk/?p=4
ASKER
the output file is 0 bytes php-v
ok,I will try that
ok,I will try that
ASKER
ok, I did that (also re-installed the FastCGI) but now I get page not found when I try to access the php site.
The problem is not in the PHP installation, but in FastCGI settings,I don't have php5isapi.dll file !
Here is a list of server modules shipped with PHP 5:
* sapi/php5apache2_2.dll - Apache 2.2.x module.
* sapi/php5apache.dll (php5apache.dll) - Apache 1.x module
* sapi/php5apache2.dll (php5apache2.dll) - - Apache 2.0.x module.
* sapi/php5isapi.dll - ISAPI Module for ISAPI compliant web servers
like IIS 5.0 or newer. However the FCGI SAPI is recommended with
IIS
I can't find any of these files in the PHP installation !
The problem is not in the PHP installation, but in FastCGI settings,I don't have php5isapi.dll file !
Here is a list of server modules shipped with PHP 5:
* sapi/php5apache2_2.dll - Apache 2.2.x module.
* sapi/php5apache.dll (php5apache.dll) - Apache 1.x module
* sapi/php5apache2.dll (php5apache2.dll) - - Apache 2.0.x module.
* sapi/php5isapi.dll - ISAPI Module for ISAPI compliant web servers
like IIS 5.0 or newer. However the FCGI SAPI is recommended with
IIS
I can't find any of these files in the PHP installation !
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://forums.iis.net/p/1151022/1876417.aspx