qa:temp:ext:curl
This is an old revision of the document!
Testing the cURL extension
How to test the cURL extension.
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):
export PHP_CURL_HTTP_REMOTE_SERVER=http://www.example.com
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 that is requisted can be found in the ext/curl/tests/responder
directory and needs to be copied to the root of the webserver.
With a local file
ToDo
qa/temp/ext/curl.1241866742.txt.gz · Last modified: 2017/09/22 13:28 (external edit)