可以识别PHP,但是如果在PHP.ini中启用了任何扩展,则会崩溃。如果我禁用它们,如下所示,那么它可以工作。
;[PHP_BZ2]
;extension=php_bz2.dll
;[PHP_CURL]
;extension=php_curl.dll
;[PHP_GD2]
;extension=php_gd2.dll
;[PHP_GETTEXT]
;extension=php_gettext.dll
;[PHP_IMAP]
;extension=php_imap.dll
;[PHP_MBSTRING]
;extension=php_mbstring.dll
;[PHP_MYSQL]
;extension=php_mysql.dll
;[PHP_MYSQLI]
;extension=php_mysqli.dll
;[PHP_OPENSSL]
;extension=php_openssl.dll
;[PHP_PDO_MYSQL]
;extension=php_pdo_mysql.dll
;[PHP_PDO_ODBC]
;extension=php_pdo_odbc.dll
;[PHP_PDO_SQLITE]
;extension=php_pdo_sqlite.dll
;[PHP_PGSQL]
;extension=php_pgsql.dll
;[PHP_SOAP]
;extension=php_soap.dll
;[PHP_SOCKETS]
;extension=php_sockets.dll
;[PHP_SQLITE3]
;extension=php_sqlite3.dll
;[PHP_TIDY]
;extension=php_tidy.dll
;[PHP_XMLRPC]
;extension=php_xmlrpc.dll
;[PHP_XSL]
;extension=php_xsl.dll
;[PHP_EXIF]
;extension=php_exif.dllUpdate:根据Ignacio的建议运行httpd的Dependency,它返回如下:
IESHIMS.DLL Error opening file. The system cannot find the file specified (2).在日志中这样做:
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
Error: Modules with different CPU types were found.
Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.对于模块(以mod_alias为例):
LIBAPR-1.DLL Error opening file. The system cannot find the file specified (2).
LIBAPRUTIL-1.DLL Error opening file. The system cannot find the file specified (2).
LIBHTTPD.DLL Error opening file. The system cannot find the file specified (2).日志:
Error: At least one required implicit or forwarded dependency was not found.
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
Error: Modules with different CPU types were found.发布于 2010-07-21 07:22:54
Renistalling和PHP以某种方式解决了这个问题。
发布于 2010-07-11 06:00:31
在使用PHP和httpd时,造成崩溃的一个典型原因是库不匹配。在httpd上使用依赖沃克以及扩展查找库冲突。
https://serverfault.com/questions/159309
复制相似问题