问题
I have this error message when I compile my program in PHP. I have these two lines in my php.ini file :
extension=curl
extension=C:\Server\bin\PHP\ext\php_curl.dll
It still doesn't work, can you help me ?
Thank you
回答1:
After installation, you would need to restart either Apache or Nginx.
Create a stand alone info.php page:
<?php
phpinfo();
Search the page you should see something like this:
cURL support: enabled
来源:https://stackoverflow.com/questions/55271493/apache-php-undefined-function-curl-init