[Wed Aug 26 13:40:02 2009] [warn] pid file E:/APMServ/Apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
PHP Warning: PHP Startup: Unable to load dynamic library 'E:/APMServ/PHP/ext\\php_xsl.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xb3\xcc\xd0\xf2\xa1\xa3\r\n in Unknown on line 0
PHP Warning: [eAccelerator] This build of "eAccelerator" was compiled for PHP version 5.2.6. Rebuild it for your PHP version (5.2.4) or download precompiled binaries.\n in Unknown on line 0
PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
原来是以前在本机(Windows 2003标准版)安装过Apache,有一些残留文件,C:\windows\下的dll文件被Apache优先加载了,而没有加载应该加载的APACHE目录中的DLL。
如果出现“Unable to load dynamic library“错误,但配置文件又是正确的情况下,一定要注意这些目录下有没有当前PHP版本需要使用的dll不同版本的同名文件。(搜索文件名含php的dll文件,并删除即可)