首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >PHP扩展使Windows 7 64位上的Apache服务器崩溃

PHP扩展使Windows 7 64位上的Apache服务器崩溃
EN

Server Fault用户
提问于 2010-07-11 05:38:58
回答 2查看 3.1K关注 0票数 0
  • Apache 2.2.15 (32位)
  • PHP5.3.2 VC6线程安全(32位)
  • Windows 7终极版(64位)
  • 英特尔核心2双T7200 2 GHz

可以识别PHP,但是如果在PHP.ini中启用了任何扩展,则会崩溃。如果我禁用它们,如下所示,那么它可以工作。

代码语言:javascript
复制
;[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.dll

Update:根据Ignacio的建议运行httpd的Dependency,它返回如下:

代码语言:javascript
复制
IESHIMS.DLL  Error opening file. The system cannot find the file specified (2).

在日志中这样做:

代码语言:javascript
复制
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为例):

代码语言:javascript
复制
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).

日志:

代码语言:javascript
复制
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.
EN

回答 2

Server Fault用户

回答已采纳

发布于 2010-07-21 07:22:54

Renistalling和PHP以某种方式解决了这个问题。

票数 1
EN

Server Fault用户

发布于 2010-07-11 06:00:31

在使用PHP和httpd时,造成崩溃的一个典型原因是库不匹配。在httpd上使用依赖沃克以及扩展查找库冲突。

票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/159309

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档