Edit report at https://bugs.php.net/bug.php?id=68208&edit=1
ID: 68208
User updated by: admin at ctrlcube dot com
Reported by: admin at ctrlcube dot com
Summary: curl package not loading no error
-Status: Feedback
+Status: Open
Type: Bug
Package: cURL related
Operating System: windows 7
PHP Version: 5.6.1
Block user comment: N
Private report: N
New Comment:
thanks, I'll look into that, just one quick question. I had a quick look at the source for the
curl dll (\php-5.6.1\ext\curl\) for 5.6.0 and 5.6.1. They appear to be identical. the package.xml
stating version 5.0rc1. However the curl ddl (php_curl.dll) sourced with 5.6.0 was 494KB and 5.6.1
was 403KB... sha1 hash for PHP download was fine, sha1 for 5.6.1 php_curl.dll is
73ef5e0e0bc3e9b04ec3395fb41bde6d62c4b475. Any idea why this might be the case?
Previous Comments:
------------------------------------------------------------------------
[2014-10-13 10:07:00] ab@php.net
Escaping not in the %path%, but in httpd.conf, i mean :)
------------------------------------------------------------------------
[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