note 80637 deleted from ref.curl by googleguy
| From: | googleguy@php.net | Date: | Tue, 22 Oct 2013 08:01:15 +0000 |
| Subject: | note 80637 deleted from ref.curl by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-196730@lists.php.net to get a copy of this message | ||
Note Submitter: lancelot--du-lac at hotmail dot fr
----
As a windows xp user having php 5.2.5 running as an apache module on my personal computer, all I had
to do in order to get this CURL stuff working is to uncomment the following line in my php.ini file:
extension=php_curl.dll
Thought I'd just mention it as it may save time to others since it seems somehow less
compicated than the process mentioned (without sufficient explanation, mind you) in the above
article (compile php??? options??? all I ever did to install php was to unzip the archive I
downloaded and add a couple of line to my apache conf file).
I just tried downloading a web page and save its source into a text file using the example from the
manual above. When the php_curl.dll extension is not active, it doesn't work (fatal error with
init_curl, as you'd expect). When the php_curl.dll extension is active, it works. No need for
any other intricate operation as far as I can say.
Otherwise, it's great that I now have my tool for doing any http request i want.