RE: [PHP4BETA] php4 installed...php3 still running?

From: Date: Tue, 21 Dec 1999 19:48:57 +0000
Subject: RE: [PHP4BETA] php4 installed...php3 still running?
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-8334@lists.php.net to get a copy of this message
> -----Original Message----- > From: Andrew Hill [mailto:ahill@openlinksw.com] > Sent: December 21, 1999 1:31 PM > To: php4beta@lists.php.net > Subject: [PHP4BETA] php4 installed...php3 still running? > > > Hi folks, > > I apologise if this in in an archive (where is the archive for > this list? :) > > I just ran through the installation of php4 on my redhat6.1 box, with > seemingly no problems. My phpinfo() still reports mod_php3, and if I pass > .php files to the url, I get the 'download?' thingy in windows. > > Obviously php4 isn't running. I followed the quick instructions, with the > exception of copying a binary... where is the binary? I figured > since I was > running the mod version of php3, and used the same directions for > php4 (with > the little changes) that I would have a working module running once I > restarted apache. > > So what did I miss? > In your httpd.conf file..... LoadModule php4_module lib/apache/libphp4.so and.... AddModule mod_php4.c and... AddType application/x-httpd-php .php AddType application/x-httpd-php .php3 AddType application/x-httpd-php .phtml AddType application/x-httpd-php-source .phps ...all in the appropriate spots in the file. If you have beta 3 and the latest cvs of version 3, and enabled versioning, you can run both as mods simultaneously, with the AddTypes pointing the different extensions to the different versions. (I think). Mike

« previous php.version4 (#8334) next »