简体   繁体   中英

How to enable php curl extension

hello guys anybody tell me how to enable php extension in php script not from php.ini. if there is any function or method available or not

Thanks

Follow below steps to enable CURL via the php.ini

1.Locate your PHP.ini file. (normally located at in the bin folder of your apache install eg)

2.Open the PHP.ini in notepad.

3.Search or find the following : ';extension=php_curl.dll'

4.Uncomment this by removing the semi-colon ';' before it.

5.Save and Close PHP.ini.

6.Restart Apache

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