无法加载php_curl [英] Could not load php_curl

查看:101
本文介绍了无法加载php_curl的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装php5.2.13,apache2.2.15在WindowsXp.Add C:\PHP到PATH ssystem变量。

I have installed php5.2.13, apache2.2.15 on WindowsXp.Add C:\php to PATH ssystem variable.

我无法启用curl扩展。我配置extension_dir和删除;在php.ini中的表单php_curl但没有什么!

I can't enable curl extension. I configure extension_dir and remove ";" form php_curl in php.ini but nothing!

我复制ssleay32.dll和libeay32.dll在system32目录 - 没有
错误日志说:
PHP警告:PHP启动:无法加载动态库'C:\php\ext\php_curl.dll' - 尝试访问无效地址。\r\\\
在未知的第0行

I copied ssleay32.dll and libeay32.dll in system32 directory - nothing Error log say: PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_curl.dll' - Attempt to access invalid address.\r\n in Unknown on line 0

有人可以帮助我吗?

感谢您对英文版的感谢和抱歉。

Thanks and sorry for bad english.

推荐答案

我发现一个解决方案:mod_ssl在http.conf中被禁用。

I found a solution : mod_ssl was disabled in http.conf.

我从system32目录中删除了dll文件,一切正常。

I remove dll files from system32 directory and everything is ok.

因此,只需要启用curl扩展在php.ini。并在httpd.conf

So, just need to enable curl extension in php.ini. And enable mod_ssl in httpd.conf

这篇关于无法加载php_curl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆