Cannot load php5apache2.dll into server Apache is running a threaded MPM,

来源:互联网 发布:外貌协会 知乎 编辑:程序博客网 时间:2024/06/06 06:40
PHP5压缩包里的php5apache2.dll只适用于apache2.0.*版本,
如果是2.2.*以上版本,就可能会出现 "Cannot load C:/php/php5apache2.dll into server: The specified module could not be found."或者:"The requested operation has failed",

改成/php5apache2_2.dll即可




Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP. Pre-configuration failed!

PHP编译模式错了。如果在windows下,需在php.net上下载 PHP 5.2.13 zip package ,不要下debug pakage 或 Non-thread-safe zip package 。若在linux下编译,需去掉--with-openssl 参数。