简体   繁体   中英

Apache/PHP undefined function curl_init()

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM