Re: 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]

 



Sorry about the belated reply. 'php -m' does list curl with version 5.4.38.

PATH in phpinfo is
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files (x86)\MySQL\MySQL Server 5.5\bin;

This path is identical for versions that do load the curl extension
successfully (5.4.20, 5.4.25, 5.4.30). Presumably Apache's "bin"
directory is implicitly included as the directory where it's running
and that's why libeay etc loads successfully there.

I had a chance to try more versions and the break appears to be 5.4.34
=> 5.4.35. Curl loads in 5.4.34, not in 5.4.35. Also of note, 5.4.35
is the first version that includes a file named "libssh2.dll". The
5.4.34 package does not include this DLL but does report libSSH
version "libssh2/1.4.2" on phpinfo(). So this indicates perhaps
something changed between those versions in how the curl extension is
compiled and linked?

Putting a copy of libssh2.dll in Apache's bin directory allows the
latest version (5.4.38) to load curl. I imagine adding PHP's directory
to PATH would also work but I wanted to see if that particular file
was the culprit.

On Wed, Feb 25, 2015 at 7:27 PM, Jan Ehrhardt <phpdev@xxxxxxxxxxx> wrote:
> Andy Theuninck in php.windows (Wed, 25 Feb 2015 19:12:22 -0600):
>>I'm running Apache builds from Apache Lounge w/ OpenSSL 0.9.8. I've
>>been trying different older builds. 5.4.25 loads curl just fine. I
>>haven't had a chance to try more versions in between.
>>
>>I did try copying the ssleay32.dll and libeay32.dll included with
>>5.4.38 into Apache's directory in place of the ones it includes.
>>php_curl.dll still doesn't load. Notably though, php_openssl.dll from
>>5.4.38 *does* load and does report version 0.9.8ze.
>
> Did you try 'php -m' at the DOS-prompt? If so, did it show curl (between
> ctype and date)?
>
> php_openssl.dll is not dependent on libssh2.dll, so this may be the
> trouble. You can try in-between releases here:
> http://windows.php.net/downloads/releases/archives/
>
> Jan
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

-- 
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