|
Call to undefined function curl_init的解决办法
环境: windows php+apache 错误:call to undefined function curl_init 解决办法: 首先,打开php.ini,找到“extension=php_curl.dll”,然后去掉前面的“;”注释,重启apache即可。 如果问题依旧,先检查php.ini的extension_dir值是哪个目录,在那个目录下检查有无php_curl.dll,没有则下载 php_curl.dll,再把php目录中的libeay32.dll和ssleay32.dll拷到c:\windows\system32下,然后重启apache即可。 |
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号