Bug #78086 [NEW]: Curl silently fails to load under mod_php
From: alvaro at demogracia dot com
Operating system: Windows 10
PHP version: 7.3.5
Package: Apache2 related
Bug Type: Bug
Bug description:Curl silently fails to load under mod_php
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 bug report at https://bugs.php.net/bug.php?id=78086&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=78086&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=78086&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=78086&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=78086&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78086&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78086&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78086&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78086&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78086&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78086&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78086&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78086&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78086&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=78086&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=78086&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78086&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78086&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78086&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78086&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78086&r=mysqlcfg
Thread (17 messages)
- alvaro at demogracia dot com
- alvaro at demogracia dot comBug #78086 [Opn]: Curl silently fails to load under mod_php
- cmb@php.netBug #78086 [Opn->Fbk]: Curl silently fails to load under mod_php
- alvaro at demogracia dot comBug #78086 [Fbk->Asn]: Curl silently fails to load under mod_php
- cmb@php.netBug #78086 [Asn]: Curl silently fails to load under mod_php
- requinix@php.netBug #78086 [Asn]: Curl silently fails to load under mod_php
- cmb@php.netBug #78086 [Asn->Fbk]: Curl silently fails to load under mod_php
- php-bugs at lists dot php dot netBug #78086 [Fbk->NoF]: Curl silently fails to load under mod_php
- alvaro at demogracia dot comBug #78086 [NoF->Csd]: Curl silently fails to load under mod_php
- cmb@php.netBug #78086 [Csd->ReO]: Curl silently fails to load under mod_php
- alvaro at demogracia dot comBug #78086 [ReO]: Curl silently fails to load under mod_php
- cmb@php.netBug #78086 [ReO]: Curl silently fails to load under mod_php
- alvaro at demogracia dot comBug #78086 [ReO]: Curl silently fails to load under mod_php
- cmb@php.netBug #78086 [ReO]: Curl silently fails to load under mod_php
- alvaro at demogracia dot comBug #78086 [ReO]: Curl silently fails to load under mod_php
- alvaro at demogracia dot comBug #78086 [ReO->Csd]: Curl silently fails to load under mod_php
- GILPERON at GMAIL dot COMBug #78086 [Com]: Curl silently fails to load under mod_php