Re: apache + php3 + php4 + extensions working simultaneously

From: Date: Thu, 30 Nov 2000 19:26:18 +0000
Subject: Re: apache + php3 + php4 + extensions working simultaneously
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-28106@lists.php.net to get a copy of this message
On Thu, 30 Nov 2000, Evelio Martinez wrote: > Hi! > > I have installed apache 1.3.12 and php 4.0.3.pl1 on RH 6.2 > > I am new in the php world. > > How can I make a .php3 extension to be interpreted as a .php extension ? > > Do I have to modify apache conf, php conf or both ? > > I have made some test with the AddType directive, but they didn't work. > > I have taken a look to the php install file and I have followed the > steps suggested below (***) > (configure , make , make install ), but still the same result. > > If I add the commented line in httpd.conf file, apache issues a > download window instead of > executing the php3 script. > > <IfModule mod_php4.c> > AddType application/x-httpd-php4 .php > # AddType application/x-httpd-php4 .php3 > AddType application/x-httpd-php .php > </IfModule> > [snip] > Oops. That should be "application/x-httpd-php". -- Ignacio Vazquez-Abrams <ignacio@openservices.net>

« previous php.general (#28106) next »