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.
RH7.3 PHP reinstall causing long load times...
Moderator: General Moderators
more info
Yes apache is being used, v.1.3.23-11
I am using name based virt hosting, which was working fine before i reinstalled php. Going to the internal ip or internal name loads the default site promptly.
And phpinfo() confirms the use of /etc/php.ini.
I am using name based virt hosting, which was working fine before i reinstalled php. Going to the internal ip or internal name loads the default site promptly.
And phpinfo() confirms the use of /etc/php.ini.
Re:
No errors were showing up. For some reason it was just timing out loading the page, but once it timed out/or waited long enuf it would load.
No failover.
I had to get the box online so I reinstalled RH7.3, left the default PHP install alone this time and it is working fine. Maybe my DL of PHP for the previous install was corrupt??
Thanks for trying to help me out!
Gr@peApe
No failover.
I had to get the box online so I reinstalled RH7.3, left the default PHP install alone this time and it is working fine. Maybe my DL of PHP for the previous install was corrupt??
Thanks for trying to help me out!
Gr@peApe