Re: php_curl.dll won't load, no error information provided (5.4.38)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux