Bug #68208 [Fbk]: curl package not loading no error

From: Date: Mon, 13 Oct 2014 10:07:00 +0000
Subject: Bug #68208 [Fbk]: curl package not loading no error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-188057@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68208&edit=1 ID: 68208 Updated by: ab@php.net Reported by: admin at ctrlcube dot com Summary: curl package not loading no error Status: Feedback Type: Bug Package: cURL related Operating System: windows 7 PHP Version: 5.6.1 Block user comment: N Private report: N New Comment: Escaping not in the %path%, but in httpd.conf, i mean :) Previous Comments: ------------------------------------------------------------------------ [2014-10-13 10:04:50] ab@php.net Yes, you can start apache on console with -X, then you'll see what it probably misses. Be sure to set path=php_path;%path% before on that particular term. And, you can try the same on console while in php dir like - php -n -d extension_dir=ext -d extension=php_curl.dll ... Note that there's no need adding the ext folder to the path as it's only usable for the extension_dir directive. But when apache starts, it does chdir to its own root, that's where the correct %path% is set. Maybe also try to put PHP and Apache into some path without spaces, I could imagine that to be an issue for Apache. Or at least escape the spaces like "Program\ Files". Thanks. ------------------------------------------------------------------------ [2014-10-13 09:49:33] admin at ctrlcube dot com "C:\Program Files (x86)\PHP;" was already defined, added "C:\Program Files (x86)\PHP\ext;" Still not seeing curl. If I swap curl dll file for previous version (5.6.0) curl works fine. Any other way of debugging what is going on? ------------------------------------------------------------------------ [2014-10-13 08:46:20] ab@php.net Cannot reproduce here, ext/curl loads fine. Please ensure you have all the dependency DLL on the %path% and the %path% is correct. Thanks. ------------------------------------------------------------------------ [2014-10-10 18:37:06] admin at ctrlcube dot com Description: ------------ Upgrading to php 5.6.1 curl no longer is recognised. No errors on server start package just not available. Replaced the php_curl.dll from 5.6.1 with the version from 5.6.0 and everything works fine. Running Apache 2.4.10 on Windows downloaded from Apache Lounge, and PHP package from windows.php.net. Test script: --------------- $ch = curl_init(); Expected result: ---------------- no error Actual result: -------------- Fatal error: Call to undefined function curl_init() ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68208&edit=1

« previous php.bugs (#188057) next »