Win8 and Win7 to solve php5.3 and 5.4, 5.5 and so on can not load Php_curl.dll the ultimate solution
Collection
January 11, 2015
Recently installed PHP high version on WIN7 and WINDOWS8 respectively! Have been confronted with this problem!
I. Win7 system 32-bit, apache2.2, php5.2 upgrade to 5.4.
This is relatively easy:
1. Phpinfo found no curl loaded;
2. Set Extension_dir in php.ini to point to E:\php5.4\ext; Some PHP extensions are loaded, but curl is still not working.
3. Set the Windows System environment variable, Phpext, point to E:\php5.4\ext, PHPRC point to e:\php5.4
Set the PATH environment variable to add e:\php5.4
4. Restart Apache, finally out, done!
I. WIN8 system 64-bit, apache2.2, php5.4, v9 version
First of all, the front win7 is executed, but not alive! Also downloaded a lot of 64-bit php_curl.dll, also not!
Later saw this article:
Http://www.cnblogs.com/perhaps/archive/2010/11/15/1877653.html
Discovery is likely to be a load dependent problem! Finally solved!
1. Perform the 1-4 steps of the front win7!
2. Download: http://www.dependencywalker.com/
3. Check the Php_curl.dll module dependencies in PHP version! Try it yourself, run and find the Php_curl.dll path, and open the view dependent library.
4. In http.conf, finally, add:
LoadFile E:/php/php-5.4/php5ts.dll
LoadFile E:/php/php-5.4/libeay32.dll
LoadFile E:/php/php-5.4/ssleay32.dll
LoadFile E:/php/php-5.4/libssh2.dll
LoadModule php5_module "E:/php/php-5.4/php5apache2_2.dll"
AddType application/x-httpd-php. php
5. Restart, the merit depends on!
Three summary:
The main problem, PHP to download the security version, all the methods are tried, still not, see dependencies and try to add.
The php_curl.dll extension in the PHP package should be available and should not be replaced casually. Also, although the PHP documentation notes that the 32-bit environment needs to be relied upon, this is not the case.
It took me half the time!
Win8 and Win7 to solve php5.3 and 5.4, 5.5 and so on can not load Php_curl.dll the ultimate solution collection