Bug #68047 [Com]: the curl extension doesn't load using apache
| From: | maba at mb-systemhaus dot net | Date: | Wed, 22 Oct 2014 20:43:12 +0000 |
| Subject: | Bug #68047 [Com]: the curl extension doesn't load using apache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-188267@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68047&edit=1
ID: 68047
Comment by: maba at mb-systemhaus dot net
Reported by: leo020588 at gmail dot com
Summary: the curl extension doesn't load using apache
Status: Feedback
Type: Bug
Package: cURL related
Operating System: Windows 7 x64
PHP Version: 5.5.17
Block user comment: N
Private report: N
New Comment:
Same here:
----------
clean 5.5.18 install
used php.ini-development (which shouldn't change anything compared to prod)
extension=php_curl.dll
extension_dir=c:/..../ext (containing full pathname)
Previous Comments:
------------------------------------------------------------------------
[2014-10-16 23:17:27] momchilmg at gmail dot com
PHP 5.5.16 is last version for me without problem with this extension.
php_curl.dll in 5.5.16 is 496KB, but in 5.5.17/5.5.18 is only 403/401KB.
------------------------------------------------------------------------
[2014-10-13 20:20:11] leo020588 at gmail dot com
deplister.exe shows everything ok.
Adding the php folder to environment path solve the problem.
I guess php-5.17 has new o different dlls compared to my system Win7x64SP1.
------------------------------------------------------------------------
[2014-10-13 16:14:14] ab@php.net
Please check with bug #68208. Your bug looks similar, so you might use deplister.exe to check
whether some dll missing or try other suggestions.
Thanks.
------------------------------------------------------------------------
[2014-09-21 14:21:56] momchilmg at yahoo dot com
My solution: Copy php_curl.dll from 5.5.16 archive to 5.5.17 and all work fine.
------------------------------------------------------------------------
[2014-09-18 16:23:40] leo020588 at gmail dot com
Description:
------------
I tried a clean clean install just to be sure:
1. Unpack php-5.5.17-Win32-VC11-x86.zip
2. Rename php.ini-production -> php.ini
3. Edit php.ini
extension=php_curl.dll
extension_dir = "D:/zerver/system/php/ext"
This exact same steps works fine using php-5.5.16-Win32-VC11-x86.zip
Works ok through cli. So, I tried different flavors of apache (apachelounge) with the same result
(curl doesn't load).
- httpd-2.4.10-win32-VC9.zip
- httpd-2.4.10-win32.zip (VC10)
- httpd-2.4.10-win32-VC11.zip
Relevant part from httpd.conf to load apache:
LoadModule php5_module "D:/zerver/system/php/php5apache2_4.dll"
PHPIniDir "D:/zerver/system/php"
AddType application/x-httpd-php .php
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68047&edit=1