Re: Apache and PHP

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

 



On Thu, 12 Feb 2004, Ajai Khattri wrote:

> 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.

Nuts...adding this to my php.conf file causes Mozilla to ask what to do 
with the php3 file.

Oy.
-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000

To be notified of updates to the web site, visit 
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
message to:

site-update-request@xxxxxxxxxxxxxxxxx

with a message of: 

subscribe


-- 
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