php run newspaper Call to undefined function curl_init () solution

Long before the emergence of this issue, the online Baidu, the answer stereotyped, he has said:

1, open the curl extension in php.ini

2, the lower directory php libeay32.dll, ssleay32.dll, php5ts.dll copied to c: \ windows \ system32 inside

(Another method is to add dynamic link library said in httpd.conf, such as: LoadFile d: /php/libeay32.dll and LoadFile d: /php/ssleay32.dll, but I tried, the same does not work )

3, restart apache, OK!

I do not know these people are not really tried and it worked, put these so-called solutions to share online. When we finally newcomers, all solutions to Baidu, only to end up one of but still can not find the source, and you can not really solve the problem.

 

Not recently too busy to bring the issue back out, I wanted to solve what, Baidu Baidu Baidu ... Well ........ Perhaps I was too Yanzhuo, only to find that the above solution. Helpless, the only help Google ... but within the limits of Skynet, to also become a difficult to access Google. So look for FQ ... all kinds of preparations have consumed much time .... n

After Google, although the above mentioned solutions, not just the only good news, and find another online program, is appropriate to me, to the excerpt, record it, but also facilitate future generations! !

 

Let me talk about my computer configuration!

I am a 64-bit win10 system, apache and php are their own manual configuration, integrated environment I did not try, do not know whether this works, but think how much you can take a look!

Besides Solution!

1, the same open curl extension in php.ini

2, in the directory php to find libeay32.dll, libssh2.dll, ssleay32.dll these three files, copy (or cut) into the lower bin directory apache

3, restart apache, OK!

Guess you like

Origin www.cnblogs.com/caoqh/p/11597143.html