Fatal error: Call to undefined function curl_init of solution

  • 2020-03-31 20:31:05
  • OfStack

First, make sure that PHP has been extended
In php.ini
 
extension=php_curl.dll 

To ensure that
Php_curd. DLL is copied to ext in the PHP installation directory, and libeay32.dll and ssleay32.dll are copied to the PHP installation directory. (my configuration file is system32, and php5ts.dll)
Remember to restart Apache. Correct,over!

Related articles: