Edit report at https://bugs.php.net/bug.php?id=78086&edit=1
ID: 78086
User updated by: alvaro at demogracia dot com
Reported by: alvaro at demogracia dot com
Summary: Curl silently fails to load under mod_php
Status: Open
Type: Bug
Package: Apache2 related
Operating System: Windows 10
PHP Version: 7.3.5
Block user comment: N
Private report: N
New Comment:
My excuses, I hadn't found the correct log file. I'm getting:
PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: ext\\curl (No se
puede encontrar el m\xef\xbf\xbddulo especificado.), ext\\php_curl.dll (No se encontr\xef\xbf\xbd el
proceso especificado.)) in Unknown on line 0
Previous Comments:
------------------------------------------------------------------------
[2019-05-30 08:01:07] alvaro at demogracia dot com
Description:
------------
Not sure if there's a problem with the Windows builds but I'm using
php-7.3.5-Win32-VC15-x64 under Windows 10 and the Curl extension doesn't load at all when
running PHP via Apache.
It works fine in command-line but not when running as module for Apache/2.4.29 (Win64) with the same
php.ini file, which is essentially identical to the one I was using successfully in
php-7.3.0-Win32-VC15-x64. I'm not getting error messages of any kind but the extension
doesn't show up in phpinfo() and it isn't avaible.
Test script:
---------------
var_dump(PHP_VERSION, defined('CURLOPT_HEADER'),
function_exists('curl_setopt'));
Expected result:
----------------
In command-line it prints:
string(5) "7.3.5"
bool(true)
bool(true)
Actual result:
--------------
In Apache it prints:
string(5) "7.3.5"
bool(false)
bool(false)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78086&edit=1