Calltoundefinedfunctioncurl_init ()

Source: Internet
Author: User
Calltoundefinedfunctioncurl_init () open port of Sina

The preceding error occurs after you click it.
\ System32 \ has been placed in php5ts. dll; ssleay32.dll; php_curl.dll; libeay32.dll
Php. ini has been changed to extension = php_curl.dll, none;


Reply to discussion (solution)

Php's curl module is not enabled. search for curl in the php. ini file and remove the semicolon in front of the line to save and restart apache.

Have you restarted apache after the change?
In addition, phpinfo (); check whether curl is enabled?

Check whether the modified php. ini is used.

Check whether the modified php. ini is used.
How can I check it?

Check whether the modified php. ini is used.

Forgot to say
I am a win7 64-bit system and the environment is wamp


Check whether the modified php. ini is used.
How can I check it?

Phpinfo (); search for php. ini and check whether the path is the same as the one you changed.



Check whether the modified php. ini is used.
How can I check it?

Phpinfo (); search for php. ini and check whether the path is the same as the one you changed.

I put php. ini and phpForApache. ini in the windows folder, and then restarted. an error is still reported.

Then I searched for curl in phpinfo, but I couldn't find it.

Resolved
By the way, cursing the programmer responsible for the php part of the sina open port

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.