php cli is trying to resolve
Herouth Maoz
herouth at spamcop.net
Sat Jun 13 15:10:51 IDT 2009
First off, run
php -i | grep prepend
...to see if it is trying to run any prepend file which is set up in
php.ini
Herouth
On 12/06/2009, at 22:29, ik wrote:
> Hello list,
>
> I have encountered today a weird problem with a CentOS 4.7 Final
> server.
>
> A cli based PHP script took a long time until it executed. Even code
> such as :
>
> <?
> echo "Hello World\n";
> ?>
>
> Took few minutes to execute.
>
> After doing some strace on php, I found out that it attempt to do
> resolving for several addresses prior to executing the code.
>
> I can not reproduce it on any other Linux that I have tried to
> (Ubuntu, debian and Arch Linux).
>
> Have anyone encountered such issue, and knows how to stop php from
> trying to resolve things ?
>
> Thanks,
>
> Ido
>
>
> http://ik.homelinux.org/
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20090613/4916b735/attachment.html>
More information about the Linux-il
mailing list