RH7.3 PHP reinstall causing long load times...
Posted: Fri Dec 06, 2002 10:45 am
I removed the original PHP from my recent RH7.3 install and then installed the same version (4.1.2-7) from source rpm found at rpmfind.net. This has caused a very interesting situation: anyone outside my linksys router trying to access pages with php AND connexions to mysql or postgress suffer a several minute load time.
If I try to access the same page via external address/name from inside the router I receive the same load time/sometimes timesout. If I try the page via internal address it load in normal 2-3 second time. If I load a PHP or straight html page that is NOT connecting to a database the page loads normally.
One other note. I had someone external do a head request on one of these slow loading pages and he got the header back damn quick. But, when he did a get request he received the long delay.
Has anyone seen this behaviour before? Is it a PHP config setting???
I tried installing BIND and setting up a local caching DNS. Hasn't helped.
If I try to access the same page via external address/name from inside the router I receive the same load time/sometimes timesout. If I try the page via internal address it load in normal 2-3 second time. If I load a PHP or straight html page that is NOT connecting to a database the page loads normally.
One other note. I had someone external do a head request on one of these slow loading pages and he got the header back damn quick. But, when he did a get request he received the long delay.
Has anyone seen this behaviour before? Is it a PHP config setting???
I tried installing BIND and setting up a local caching DNS. Hasn't helped.