note 27629 modified in ref.curl by danbrown

From: Date: Sun, 17 May 2009 19:47:57 +0000
Subject: note 27629 modified in ref.curl by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-155270@lists.php.net to get a copy of this message
If anybody has problems with getting new curl working with older version of php then ... I got stuck with installing curl-7.10.2+php 4.0.6 or better said configuring PHP with mentioned version of curl. After some hopeless attempts to configure curl support into PHP I saw an error message: "checking for cURL greater than or equal to 7.8... ./configure: line 11725: test: 070a02: integer expression expected" after which configure said: "configure: error: cURL version 7.8 or later is required to compile php with cURL support" On the mentioned line "test" is used to compare verion from curl-sonfig with preset value 70800 but ... test expects both values to be integer. From verson 7.8 curl outputs its version in hex... I did'nt had the time to think about fixing this - I just deleted lines responsible and got curl working :) --was-- If anybody has problems with getting new curl working with older version of php then ... I got stuck with installing curl-7.10.2+php 4.0.6 or better said configuring PHP with mentioned version of curl. After some hopeless attempts to configure curl support into PHP I saw an error message: "checking for cURL greater than or equal to 7.8... ./configure: line 11725: test: 070a02: integer expression expected" after which configure said: "configure: error: cURL version 7.8 or later is required to compile php with cURL support" On the mentioned line "test" is used to compare verion from curl-sonfig with preset value 70800 but ... test expects both values to be integer. From verson 7.8 curl outputs its version in hex... I did'nt had the time to think about fixing this - I just deleted lines responsible and got curl working :) http://php.net/manual/en/ref.curl.php

« previous php.notes (#155270) next »