qa:temp:ext:curl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
qa:temp:ext:curl [2011/04/06 10:59] – external edit 127.0.0.1qa:temp:ext:curl [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 4: Line 4:
  
 ===== With a webserver ===== ===== With a webserver =====
-The cURL extensions tests can be run with the help of a file on a webserver that can be reached by the machine the tests are run on. An environmental variable pointing to the host needs to be set as follows (on Unix):\\ +The cURL extensions tests can be run with the help of both a file on a webserver and a ftp server that can be reached by the machine the tests are run on. Environmental variables needs to be set as follows (on Unix):\\ 
-<code>export PHP_CURL_HTTP_REMOTE_SERVER=http://www.example.com</code>+<code> 
 +export PHP_CURL_HTTP_REMOTE_SERVER=http://www.example.com 
 +export PHP_CURL_FTP_REMOTE_SERVER="ftp.example.net"; 
 +export PHP_CURL_FTP_REMOTE_USER="ftpusername"; 
 +export PHP_CURL_FTP_REMOTE_PASSWD="ftppassword"; 
 +</code>
 Where http://www.example.com is the url to the host providing the test file. If the variable is not set the tests will assume you have webserver unning on the machine the tests are run on. Where http://www.example.com is the url to the host providing the test file. If the variable is not set the tests will assume you have webserver unning on the machine the tests are run on.
  
-The file used for testing can be found in the ''ext/curl/tests/responder'' directory and needs to be copied to the root of the webserver that is going to be used for testing.+The ''get.php'' file used for testing can be found in the ''ext/curl/tests/responder'' directory and needs to be copied to the root of the webserver that is going to be used for testing.
  
 ===== With a local file ===== ===== With a local file =====
qa/temp/ext/curl.1302087566.txt.gz · Last modified: 2017/09/22 13:28 (external edit)