Fw: [PHP-INST] php4+apache+linux7.0=PROBLEM

From: Date: Sat, 13 Jan 2001 14:49:28 +0000
Subject: Fw: [PHP-INST] php4+apache+linux7.0=PROBLEM
Groups: php.install 
Request: Send a blank email to php-install+get-1594@lists.php.net to get a copy of this message
Josh, I'm getting the same problem. How can I check whether my php4 running? I thought php4 is invoked by Apache when it is pointed at, among others, .php files. Thanks, Jud ""Josh Lokot"" <josh@lokot.com> wrote in message news:<005c01c07c17$21cdc780$db498490@vic.bigpond.net.au>... > Do you have php4 running? > > ----- Original Message ----- > From: "Otis" <otisissi@gmx.de> > To: <php-install@lists.php.net> > Sent: Friday, January 12, 2001 6:36 AM > Subject: [PHP-INST] php4+apache+linux7.0=PROBLEM > > > > Hi, > > > > I'm trying to get PHP4 to run on my localhost. I got apache running. > > PHP3 is also running. But if I try to launch a .php file containing > > sinply "phpinfo()" a window pops up saying "Save as...(Type > > application/x-httpd-php)". > > > > Here are the -as I think- relevant httpd.conf bits: > > > > > > Global Environment > > <IfDefine PHP> > > LoadModule php3_module /usr/lib/apache/libphp3.so > > </IfDefine> > > <IfDefine PHP4> > > LoadModule php4_module /usr/lib/apache/libphp4.so > > <IfDefine> > > .. > > .. > > .. > > <IfDefine PHP> > > AddModule mod_php3.c > > </IfDefine> > > <IfDefine> > > AddModule mod_php4.c > > </IfDefine> > > > > Main Server configuration > > > > .. > > document types > > .. > > > > <IfDefine PHP> > > AddType applixation/x-httpd-php3.php3 > > AddType applixation/x-httpd-php3-source .phps > > AddType applixation/x-httpd-php3 .phtml > > </IfDefine> > > > > <IfDefine PHP4> > > AddType applixation/x-httpd-php .php > > AddType applixation/x-httpd-php .php4 > > AddType applixation/x-httpd-php-source .phps > > </IfDefine> > > > > That's it. Do I have to set a Script-Alias? What do I have to Do??? > > > > Thanks in advance > > > > Otis > > > > -- > > PHP Install Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > > For additional commands, e-mail: php-install-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > For additional commands, e-mail: php-install-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.install (#1594) next »