![]() ![]() Sounds like some sort of memory leak or something (i.e. Navigating around these bug indexes is driving me nuts. I'm not a C programmer or a Linux guru and I wouldn't know where to start with debugging this stuff, but if someone could take a look at it, it would be helpful. Finally, a restart clears it and we go on for a few months til another restart. ![]() Then, the warnings start to happen more and more frequently, on code that has been unchanged in months. Please somebody look into this problem.Įrrors only happen once out of every, say, 20 times, and it always issues the getaddrinfo failed warnings. It has to do with something that changed from 4.0.16 to 4.3.4 on Apache 1.3.27 running RedHat 9 too. jpipes1 at columbus dot rr dot com We have this darn error occur once every few months our site relies heavily on fopen's to URL resources on our own servers (to separate templates out.), and I have run into these darn errors with absolutely no help from anyone on any forums. If I use the fsockopen() function with this script:įsockopen(" ", 80, &$errno, &$errstr, 30) Using the IP address in place of the hostname produces the same output. Warning: fopen(" ","r") - Bad file descriptor in /var/on line 24Īnd yes, I can resolve php.net to 208.247.106.187. Warning: php_network_getaddresses: getaddrinfo failed: name or service is not known in /var/on line 24 My php.ini DOES contain the line "allow_url_fopen = On" configure -with-apache=/usr/temp/apache_1.3.19 -with-mysql=/usr/local -enable-track-vars -with-xml -with-openssl=/usr/local/ssl I believe it has something to do with getaddrinfo.īefore upgrading to PHP4, I was running 3.0.16 and all of these functions were working perfectly with URL parameters. Pat at mail dot rit dot edu I've seen this issue posted here a few times, and I think my problem is similar to Bug id #7880.įopen(), fsockopen(), and file() will not work with URL or IP address parameters.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |