Re: php4+apache+linux7.0=PROBLEM

From: Date: Thu, 11 Jan 2001 21:40:32 +0000
Subject: Re: php4+apache+linux7.0=PROBLEM
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-1564@lists.php.net to get a copy of this message
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 > >

« previous php.install (#1564) next »