PHP, Apache and Mason
| From: | Rob Saunders | Date: | Mon, 16 Feb 2004 09:23:09 +0000 |
| Subject: | PHP, Apache and Mason | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-12776@lists.php.net to get a copy of this message | ||
Hi,
I'm trying to configure PHP on a server that's already using a Mason handler at the DocumentRoot level. As and when I try to load a php script, I'm prompted to save the document, rather than the php being executed. I guess that the problem lies in my httpd.conf, but how do I get the .php recognised? The line (AddType application/x-httpd-php .php) is already included in the httpd.conf - how do I specify that this is also still valid when the Mason handler is present also?
I'm running:
PHP 4.3.4
Apache 1.3.29
RH9
kernel 2.6.2
on intel 686 architecture.
(If the Mason handler is not applied to the document root, a script containing the basic <?phpinfo()?> works just fine, so I don't think that the php installation is suspect, just the configuration hopefully!)
Thanks in advance
Rob
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________