The curl_init function cannot be used. how can this problem be solved?
Source: Internet
Author: User
You cannot use the curl_init function Fatalerror: Calltoundefinedfunctioncurl_init (). This function has been loaded in php, but it still cannot be used. Copying related dll files to the system32 directory is not acceptable. This is why, check whether the php. ini file is a modified file and check phpinfo. In addition, the curl_init function cannot be used for modification.
Fatal error: Call to undefined function curl_init ()
This function has been loaded in php, but it still cannot be used.
Copy the related dll to the system32 directory. why?
------ Solution --------------------
Check whether the php. ini file is a modified file. after modification, restart apache... iis.
Check whether the extended dll file exists.
------ Solution --------------------
Expansion does not play a role
------ Solution --------------------
Add the corresponding modules,
------ Solution --------------------
View phpinfo directly and check whether the extension configuration is successful.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service