关于我们

质量为本、客户为根、勇于拼搏、务实创新

< 返回新闻公共列表

PHP开启Curl_init

发布时间:2020-08-20 00:00:00

故障:windows主机出现“Call to undefined function curl_init”错误提示,没有定义的函数,也就是php还没打开对curl_init函数的支持。

1、打开php.ini,开启extension=php_curl.dll。

2、检查php.ini的extension_dir值是哪个目录,检查有无php_curl.dll,没有的请下载php_curl.dll。

3、再把php目录中的libeay32.dll,ssleay32.dll拷到c:\windows\system32里面。 

4、重启下 apache。



/template/Home/dasuan/PC/Static