Re: Apache and PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux