Re: Apache + php

From: Date: Fri, 07 Jun 2002 13:52:37 +0000
Subject: Re: Apache + php
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-7254@lists.php.net to get a copy of this message
Tai, It means that apache does not recogise the file it is being asked to server as a php file and does not send it to the php parser. Assuming that your url is asking for a file ending in ".php", then in /etc/httpd/conf/httpd.conf you need: AddType application/x-httpd-php .php Don't forget to restart apache with "/etc/init.d/httpd restart" Hope this helps. Chris Tai T. Le wrote:
Hi, Can someone please help...I'm new to this PHP I'm setting up Apache 1.3.24 with PHP4. After configure everything and I tried to test to if it work but I can't view it instead it promp for download ? Your help is very appreciate! Thanks.


« previous php.install (#7254) next »