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]

 



Andy Theuninck in php.windows (Thu, 26 Feb 2015 16:28:14 -0600):
>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.

OK, you succeeded. If you are using mod_php with php5apache2_2.dll or
php5apache2_4.dll, you should always make sure the DLL's in the php dir
and in apache\bin are the same version. Apache looks for the DLL's in
apache\bin and php uses its own dir and the path.

There is a nasty trick to make sure the files are always in sync: use
apache\bin as php's dir! No double dll's because php and apache use the
same files.

apache
-- bin
   httpd.exe
   php-cgi.exe
   libeay32.dll
   ssleay32.dll
   libssh2.dll
   and lots more
   -- ext
      php_mysqli.dll
      and lots more

Beware: upgrading either Apache or PHP becomes more compicated if you
let them fysicallly use the same files.

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