Web Hosting Talk







View Full Version : PHP error, please help-me


LDKS
04-27-2003, 04:55 PM
Hello,

In busy days I, sometimes, receive this error when I'm loading a page in my server.

The script works fine, this hapenings just some times when the server is too busy (usualy in weekends).

I think it's probably someting with php setings.


Warning: main() [function.main]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/httpd/vhosts/url.net/httpdocs/banner.php on line 1

Warning: main(http://url.net/ad_banner/ledad.php) [function.main]: failed to create stream: Resource temporarily unavailable in /home/httpd/vhosts/url.net/httpdocs/banner.php on line 1

Anybody have any idea ?

Best regards,
LDKS

Israel.Lopez
04-27-2003, 06:26 PM
Yeah, it is having problems with the resources.. some machines might turn away file requests when it gets over loaded.

LDKS
04-27-2003, 08:08 PM
Any way to fix this by making some optimizations in php setings ?

Because right now I don't have money to upgrade the ram.

sasha
04-27-2003, 11:35 PM
To it seems like the problem is in the script itself. It seems that it is trying to get some remote file (image maybe:) ), or file properties and it cannot. If this is the case try using IP addy instead of domain name in the remote file name.