I'm looking for any help debugging what could be preventing my php code from running when I CURL the page containing the script.
I am making this call from one PHP script:
$ch = curl_init($this->curl_address . $querystring);
$response = curl_exec($ch);
curl_close($ch);
To this script: (the script actually does stuff, but it wasn't running, so I broke it down to this so that I would have evidence that it does not run, this is what is currently there, and there is no output in the log)
error_log("got here");
On my test server (a Mac), the CURL'd script runs (I get output in the log), but on my production server it fails. In both cases one script on the server is calling another.
The production server is a Linux VPS running (I believe) CentOS.
I don't know what issues I should be looking for on the production server. Any help is appreciated.
Thanks.