Home > Article > Backend Development > How to enable curl_init in php under windows
When testing simulated login, the prompt is: "Call to undefined function curl_init". Why does it prompt: There is no defined function? The reason is that php does not open support for the curl_init function.
When testing simulated login, the prompt is: "Call to undefined function curl_init". Why does it prompt: There is no defined function? The reason is that php does not open support for the curl_init function. Solution: 1. Open php.ini and enable extension=php_curl.dll 2. Check which directory the extension_dir value of php.ini is, and check whether there is php_curl.dll. If not, please download php_curl.dll, and then copy libeay32.dll and ssleay32.dll in the php directory to c:windowssystem32. |