Re: PHP 4.0 Bug #6158 Updated: CURL isn't supported but docoumentated as being so?

From: Date: Tue, 15 Aug 2000 06:17:29 +0000
Subject: Re: PHP 4.0 Bug #6158 Updated: CURL isn't supported but docoumentated as being so?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-28881@lists.php.net to get a copy of this message
At 03:13 AM 8/15/2000 +0000, you wrote:
ID: 6158 Updated by: mrobinso Reported By: sysadmin@alphalink.com.au Status: Closed Bug Type: Installation problem Assigned To: Comments: Actually, there is a bit of a gap sometimes between software releases and manual updates. Each of the curl function references are marked 'CVS Only', this just doesn't appear in the curl intro. In the meantime, you can grab a snapshot from snaps.php.net, it works fine. It will be in the upcoming 4.0.2 release.
Ok i grabbed the snapshot and got it all compiled and working with apache-ssl, except the following code doesn't work: <?php $ch = curl_init ("http://www.php.net/"); curl_exec ($ch); curl_close ($ch); ?> from what i understand the above should run off and download http://www.php.net/ and display it.. nothing is returned to STDOUT, if you set a fp and get curl to write to that it works fine.. even if you set CURLOPT_URL it still doesn't write to STDOUT.. i've made the php use a system call to the curl binary for the meantime but i thought i might let you guys know so it WILL work in 4.0.2-sta =) here is some version info: System Linux sysadmin 2.2.13 #1 Sat Apr 22 14:56:57 EST 2000 i686 unknown Build Date Aug 15 2000 Configure Command './configure' '--with-mysql=/usr/local' '--with-apache=../apache_1.3.12' '--with-mhash=/usr/src/mhash-0.8.2' '--with-curl=../curl-7.1' '--with-zlib=/usr/src/zlib-1.1.3' '--with-openssl=/usr/local/ssl' '--enable-track-vars' Server API Apache Virtual Directory Support disabled Configuration File (php.ini) Path /usr/local/lib ZEND_DEBUG disabled Thread Safety disabled apache-ssl version is 1.3.12 (not ssl-mod) CURL version is libcurl 7.1 (SSL 0.9.5) PHP Version is 4.0.2-dev

« previous php.dev (#28881) next »