  | |  | Apache and PHP | Apache and PHP 2004-02-12 - By Ajai Khattri
Back On Thu, 12 Feb 2004, Mike Burger wrote:
> I just upgraded an old 7.1 box to RHL9. The version of Apache that comes > with Shrike doesn't seem to want to do more than display my php3 files, > all of which worked previously. > > Hence, webmail be broken. > > Any advice would be greatly appreciated. > > And yes, I did make sure to add things ".php" and ".php3" to my DirectoryIndex > line.
You need add a PHP3 handler to your httpd.conf - something like:
<IfModule mod_php4.c> # # For PHP 3.x: # AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps # # And for PHP 4.x, use: # AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps </IfModule>
Shouldn't be hard to add the two extra lines and restart Apache.
-- Aj. Sys. Admin / Developer
-- Shrike-list mailing list Shrike-list@(protected) https://www.redhat.com/mailman/listinfo/shrike-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |