note 84999 added to curl.installation

From: Date: Sat, 09 Aug 2008 15:23:03 +0000
Subject: note 84999 added to curl.installation
Groups: php.notes 
Request: Send a blank email to php-notes+get-143322@lists.php.net to get a copy of this message
You may be confused, as I was, by the instructions for installing cURL in php. The instruction "To use PHP's cURL support you must also compile PHP --with-curl[=DIR]..." was murky to me, since I didn't compile php when I installed it. I just copied all of the necessary files to the correct folders as described very clearly in the php manual. I am using Windows XP and Apache with php 5.1.6. In this situation, and it may apply to php versions of 5.0 and later, all one needs to do is remove the ";" from the front of the directive extension=php_curl.dll. You should also check to make certain that libeay32.dll and ssleay32.dll are in your php directory with the other dll's. This directory should already be in you path, so the instruction to put them in you path is not critical. You can then run phpinfo() and you should see a heading for curl in the listing. Succinctly, my installation of cURL consisted of removing the semi-colon in front of the ;extension=php_curl.dll line in php.ini, saving php.ini and restarting Apache. You may wish to try this if you are using php 5.0 and later and are having difficulty understanding the instructions on the cURL installation page at php.net You might also find the information at http://curl.phptrack.com/forum/viewtopic.php?t=52 useful. ---- Server IP: 209.41.74.194 Probable Submitter: 69.142.246.52 ---- Manual Page -- http://www.php.net/manual/en/curl.installation.php Edit -- https://master.php.net/note/edit/84999 Del: integrated -- https://master.php.net/note/delete/84999/integrated Del: useless -- https://master.php.net/note/delete/84999/useless Del: bad code -- https://master.php.net/note/delete/84999/bad+code Del: spam -- https://master.php.net/note/delete/84999/spam Del: non-english -- https://master.php.net/note/delete/84999/non-english Del: in docs -- https://master.php.net/note/delete/84999/in+docs Del: other reasons-- https://master.php.net/note/delete/84999 Reject -- https://master.php.net/note/reject/84999 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#143322) next »