Hi – For legacy reasons too silly to explain, I have always named my PHP files filename.ph7 instead of filename.php; in addition, I use filename.inc for PHP includes in the construction of my site.
Up until last week, this line in my site’s .htaccess file was working splendidly to achieve these results:
AddHandler php-cgi .ph7 .inc
However, starting about five days ago, any filename.ph7 pages or pages which include filename.inc files are loading extremely slowly.
http://www.onebee.com/test.html loads quickly
http://www.onebee.com/test.php loads quickly
http://www.onebee.com/test.ph7 loads very slowly
Does anyone know the AddHandler directive I should be using, which would ensure that filename.ph7 scripts are parsed by exactly the same PHP engine that automatically takes care of filename.php?
I am running PHP 5.2.x under FastCGI on my domain.
I’ve tried the advice on this page and on this page, but neither has not fixed the problem. Any advice will be greatly appreciated!