问题: Server Error in Application "DEFAULT WEB SITE"
Internet Information Services 7.5
Error Summary
HTTP Error 500.0 - Internal Server Error
C:\PHP5624\php-cgi.exe - The FastCGI process exited unexpectedly
Detailed Error Information
Module |
FastCgiModule |
||
Notification |
ExecuteRequestHandler |
||
Handler |
php-5.6.24 |
||
Error Code |
0x00000000 |
||
Requested URL |
http://localhost:80/xxxx/index.php |
||
Physical Path |
C:\inetpub\wwwroot\xxxx\index.php |
||
Logon Method |
Negotiate |
||
Logon User |
XXX |
||
Most likely causes:
- IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.
- IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.
- IIS was not able to process configuration for the Web site or application.
- The authenticated user does not have permission to use this DLL.
- The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.
Things you can try:
- Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.
- Check the event logs to see if any additional information was logged.
- Verify the permissions for the DLL.
- Install the .NET Extensibility feature if the request is mapped to a managed handler.
- Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.
Links and More InformationThis error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error.
Microsoft Knowledge Base Articles:
- 294807
措施1: IIS 》Application Pools 》 Set Application Pool Defaults … 》 Process Model 》 Identity = LocalSystem
结果: 依然同样的问题.
措施 2. 打开DOS窗口,到PHP的根目录下,运行php -v,弹出错误,以及“Access is denied.”。
** PHP根目录:
运行php -v,弹出错误,以及“Access is denied.”
措施3. 替换这个文件C:\PHP5624\php.exe,运行C:\PHP5624>php -v,结果空白
在windows event里发现这个Oracle.OCI.DLL 错误,看样子应该是缺少了这两个动态链接库OCI.DLL ,OraPlc11.Dll
The description for Event ID 2 from source Oracle.OCI.DLL cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
OraPlc11.Dll cannot be loaded.
OS Error message: The specified module could not be found.
措施4. 从装有Oracle11数据库的电脑里,拷贝这两个文件OCI.DLL ,OraPlc11.Dll 到PHP的根目录下,再次运行php -v,有正常结果!
-- DLL位置:
\Oracle\product\11.2.0\dbhome_1\BIN\OraPlc11.Dll
\Oracle\product\11.2.0\client_1\OCI.DLL
-- 拷贝这两个文件OCI.DLL ,OraPlc11.Dll 到PHP的根目录下
5.再次运行php网页,一切正常!