getting php to work with apache

From: Date: Fri, 06 Jul 2001 16:06:38 +0000
Subject: getting php to work with apache
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-3424@lists.php.net to get a copy of this message
Hello I hope someone can help me. When I created the script <? phpinfo(); ?> I get the exact output when I go to http://localhost/phpinfo.php3. In other words when I type go to the page I see <? phpinfo() ?>. In my httpd.conf file I have the following: <IfModule mod_php3.c> AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps AddType application/x-httpd-php3 .phtml </IfModule> # And for PHP 4.x, use: # <IfModule mod_php4.c> AddType application/x-httpd-php .php AddType application/x-httpd-php .php4 AddType application/x-httpd-php-source .phps </IfModule> So can someone instructed me, on where I went wrong. I am missing something. Thanks Bob ---------------------------------------- Content-Type: text/plain; charset="iso-8859-15"; name="httpd.conf" Content-Transfer-Encoding: base64 Content-Description: Apache config file ----------------------------------------

« previous php.install (#3424) next »