Re: php not working
Subject: php not working
Date: Sat, Apr 28, 2001 at 01:41:38PM +0100
In reply to:bob hope
Quoting bob hope(bob_mail9@yahoo.co.uk):
> 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
> application/x-httpd-php3-source phps
> application/x-httpd-php3-preprocessed php3p
>
> srm.conf
> AddType application/x-httpd-php3 .phtml .php
> AddType application/x-httpd-source .phps
> Addtype application/x-httpd-php .php
>
I seem to recall having the same problem when I installed PHP3.
While trying everything I could think of I added PHP to the Netscape
preferences/Naviagator/Applications
MIMEType: application/x-httpd-php
Suffixes: .phtml .pht .php .php3 .php4
Application: Netscape
and
MIMEType: application/x-httpd-php3-preprossed
Suffixes: .phtml .pht .php .php3 .php4
Application: Netscape
It's still there but I don't recall if that was the 'fix' or if all of
the other things I did fixed it.
Just a thought, hope it might help.
Wayne
--
ASCII stupid question, get a stupid ANSI!
_______________________________________________________
Reply to: