Re: php_curl.dll won't load, no error information provided (5.4.38)
| From: | Jan Ehrhardt | Date: | Wed, 25 Feb 2015 21:06:43 +0000 |
| Subject: | Re: php_curl.dll won't load, no error information provided (5.4.38) | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-31322@lists.php.net to get a copy of this message | ||
Andy Theuninck in php.windows (Wed, 25 Feb 2015 11:53:18 -0600):
>I'm trying to update from 5.3.29 to 5.4.38 using the prebuilt
>binaries. The existing install is in C:\PHP5.3.29 and the new one is
>in C:\PHP5.4.38. I'm using Apache2.2 with this configuration:
>
>PHPIniDir "C:/PHP5.4.38"
>LoadModule php5_module "C:/PHP5.4.38/php5apache2_2.dll"
>
>My ini, C:/PHP5.4.38/php.ini has:
>
>extension_dir="C:\PHP5.4.38\ext"
>extension=php_curl.dll
Open a DOS-prompt (as Administrator), go to C:\PHP5.4.38 and run
'php -m' or 'php -v' over there. Sometimes this will give you the
information what is going wrong.
Dependency information:
Module: php_curl.dll
===========================
libeay32.dll
libssh2.dll
ssleay32.dll
Most likely one of those DLL's is missing or too new (you need the 0.9.8
version for PHP 5.4). If that is the case, put the dll's from the
official binaries in C:\PHP5.4.38. Since you are running PHP as mod_php,
make sure that your Apache also has the 0.9.8 DLL's in the bin
directory. OpenSSL downgrades to 0.9.8ze for Apache can be found here:
https://www.apachehaus.com/cgi-bin/download.plx
>extension_dir="C:\PHP5.4.38\ext"
I always use extension_dir="ext" which is a portable solution.
Jan