Home > Article > Backend Development > Fatal error:Call to undefined function curl_init() in ...错_PHP教程
Fatal error: Call to undefined function curl_init() in D:apache2htdocsSimpleStore.php on line 73 occurred.
This error is caused by PHP not supporting CURL.
Follow the following steps. Don’t bother. If you want to solve the problem, just follow the method of Agni. It can basically be solved:
1. Copy php_curl.dll to ext in the php installation directory.
2. Copy libeay32.dll and ssleay32.dll to the php installation directory
3. Copy php_curl.dll, libeay32.dll, ssleay32.dll to %windir%/system32
4. Open php.ini and find extension=php_curl.dll and remove the semicolon in front of it
5. Restart apache or IIS.
If steps 1 and 2 are already in place, just jump to steps 3, 4, and 5.