Re: anyone having problems with cURL and php 5.3.3?
| From: | J. Adams | Date: | Wed, 16 Feb 2011 20:51:09 +0000 |
| Subject: | Re: anyone having problems with cURL and php 5.3.3? | ||
| References: | 1 2 3 4 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-7994@lists.php.net to get a copy of this message | ||
Ignore this one. Apparently this happens when apache is loaded before the network daemons and apache caches certain DNS-related info which, if unavailable at startup, will not be loaded. The solution is to always get network functionality up and running before loading the httpd daemon. A workaround is to stop apache and then start it again. Sadly, a simple restart will not fetch the missing DNS info.
Apologies!
On 2/16/2011 11:59 AM, Antony Dovgal wrote:
On 02/16/2011 09:25 PM, J. Adams wrote:I have 3 confirmed systems where PHP 5.3.3 cannot resolve DNS when run via apache, but works fine when run from the command line.You can attach to an Apache process with strace and see if there's anything obviously wrong.