note 113895 added to curl.installation
| From: | TristanV | Date: | Fri, 13 Dec 2013 23:41:17 +0000 |
| Subject: | note 113895 added to curl.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-197931@lists.php.net to get a copy of this message | ||
If you are running on Windows with a Wampserver or alike preconfigured PHP, if you did everything
that was advised (path is correct, dlls are in the System32 or the Wow64 folder, php_curl extension
uncommented in the php.ini, rebooted your machine and restarted your services), and you still
receive messages saying that curl is not installed :
- maybe you are running a command line script (and not a curl instruction within a web application).
If yes, remember that there are 2 distinct php.ini configuration files : one for the php-cli
commands (run php at command line) and one for the php instructions (run from a page in your www
folder).
Wampserver's menuitem "php.ini" only opens the webserver's php.ini, not the
php-cli one.
So it will be great to check your php-cli's php.ini configuration file ! (you'll find it
in the php.exe's installation folder)
You need to uncomment the extension php_curl in this php.ini file for the command lines to work with
curl.
Also uncomment the php_openssl extention by the way (often used with curl).
I hope this fixed issue will help someone else :)
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/curl.installation.php
Edit -- https://master.php.net/note/edit/113895
Del: integrated -- https://master.php.net/note/delete/113895/integrated
Del: useless -- https://master.php.net/note/delete/113895/useless
Del: bad code -- https://master.php.net/note/delete/113895/bad+code
Del: spam -- https://master.php.net/note/delete/113895/spam
Del: non-english -- https://master.php.net/note/delete/113895/non-english
Del: in docs -- https://master.php.net/note/delete/113895/in+docs
Del: other reasons-- https://master.php.net/note/delete/113895
Reject -- https://master.php.net/note/reject/113895
Search -- https://master.php.net/manage/user-notes.php