php4+apache+linux7.0=PROBLEM

From: Date: Thu, 11 Jan 2001 19:36:25 +0000
Subject: php4+apache+linux7.0=PROBLEM
Groups: php.install 
Request: Send a blank email to php-install+get-1558@lists.php.net to get a copy of this message
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

« previous php.install (#1558) next »