I just installed Apache 1.3.19/PHP 4.0.5/MySQL 3.23.38 on Red Hat 7.1[2.4.2]. PHP is running VERY slow. When I access a page that isn't going through the PHP parser the page displays at a good speed, but when I access a PHP page (whether it actually has any PHP code on it or not) it takes 30 seconds to a minute to display. I am using the exact same config files that I had been using before (Apache 1.3.19/PHP 4.0.4pl/MySQL 3.23.35 on Slackware 7.0[2.2.13]), I used all the same ./configure directives for all programs:
MySQL
--prefix=/usr/local/mysql
Apache
--prefix=/usr/local/apache --enable-shared=max
PHP
--with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache/conf --with-mysql
I really don't understand this problem , I have attempted reconfiguring and installing PHP 4.0.4pl1 , --with-enable-debug=no, and --with-mysql=/usr/local/mysql , none of those worked. I would appreciate any assistance anyone could offer...
Thanks,
Chris