致命错误:调用未定义的函数curl_init()与PHP5我的Apache2服务器 [英] Fatal error: Call to undefined function curl_init() in my apache2 server with php5
问题描述
当我运行我的项目中,我在Windows7环境下使用卷曲我得到这个错误。
I got this error when I run my project in which I use curl in windows7 environment.
Fatal error: Call to undefined function curl_init()
我使用的Apache2.2和PHP的最新版本和目录为C:/ Apache2的; C:/ PHP。
我设置(删除)扩展卷曲在的php.ini 也检查 php_curl.dll ssleay32.dll 和的libeay32.dll 文件在çpresent:/ PHP 目录以及 C:/窗/ SYSTEM32
I am use Apache2.2 and latest version of PHP and the directory is C:/Apache2; C:/PHP. I set(remove ;) extension for curl in php.ini also check php_curl.dll, ssleay32.dll and libeay32.dll file are present in C:/PHP directory as well as C:/windows/system32.
有没有配置相关的问题或其他问题?
Is there any configuration related problem or other problem??
高级感谢任何种类的解决方案...
Advanced thanks for any kinds of solution...
**我的服务器是不是WAMP / XAMP
** My server is not wamp/xamp
推荐答案
如果你没有启用的php.ini
curl扩展(正确的)。你应该重新启动您的网络服务器。检查 phpinfo()函数的输出;
If you did enable the curl extension in php.ini
(the correct one). You should reboot your webserver. And check the output of phpinfo();
这篇关于致命错误:调用未定义的函数curl_init()与PHP5我的Apache2服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!