php -> 解决不能开启curl
windows xp 32
apache2.2
php5.4.36 vc9 Thread Safe
启动apache过程中提示warning php startup
查看apache error.log
PHP Warning: PHP Startup: in Unknown on line 0
没有任何提示,逐一关闭扩展,发现是php_curl加载时报错,而且phpinfo()中curl没有加载上
解决办法:
将php安装目录下的libeay32.dll,libssh2.dll,php5ts.dll,php_curl.dll,ssleay32.dll 复制到system32目录下
在httpd.conf 中加载如下依赖文件
LoadFile c:/php5.4.36/php5ts.dll
LoadFile c:/php5.4.36/libeay32.dll
LoadFile c:/php5.4.36/ssleay32.dll
LoadFile c:/php5.4.36/libssh2.dll
页:
[1]