[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: php not working



On Sat, Apr 28, 2001 at 01:41:38PM +0100, bob hope wrote:
> I have apache and mysql installed and working.
> PHP is installed but when I open a .php file through
> the web browser it asks to save to disk.  The file is
> in the web dir and .php3 files work fine.
> 
> this is what i have in the apache conf files
> 
> httpd.conf
>  LoadModule php3_module /usr/lib/apache/1.3/libphp3.so
> 
> mime.types
> application/x-httpd-php			phtml pht php
> application/x-httpd-php3		php3  phtml

If I get you right using a .php3 extensions on your files work.  Looks
like if you would just add ".php" to the above line you will be set.
Incidentally I think you should have a "." in front of your extensions on
these lines.  At least my /etc/apache/httpd.conf does so by default.
That is where my mime.types are designated.
kent
 
-- 
 From seeing and seeing the seeing has become so exhausted
     First line of "The Panther" - R. M. Rilke




Reply to: