我已经在他的php.ini
文件夹中启用了cURL扩展,我已经将PHP文件夹中的多个dll文件复制到Apache Bin文件夹和System 32文件夹中,但cURL仍然不是在我的系统上启用。在php.ini中启用cURL,但仍然无法正常工作
,我看了所有的解决方案:
How to enable cURL in PHP/XAMPP http://php.net/manual/en/curl.installation.php http://php.net/manual/en/curl.installation.php#115953 http://php.net/manual/en/curl.installation.php#117372
我知道这是因为我仍然看到以下错误:
Fatal error: Call to undefined function curl_init() in C:\AMP\sites\ftp-crawl\index.php on line 55
当我仅运行phpinfo()
,没有cUrl选项。唯一提及cURL的是module authors
,其值为cURL: Sterling Hughes
我正在运行一个安装了PHP,MySQL和Apache的Windows 10开发人员计算机。
我还需要做什么或检查以启用卷曲?
你重启了服务器吗?你正在使用wamp ya xamp? –
@MahaDev我不使用xamp,我使用Apache和PHP的干净安装。我尝试了多次重新启动服务器。 –
http://stackoverflow.com/questions/12076641/call-to-undefined-function-curl-init-with-wamp –