PHP not working with Apache 2.0.50
| From: | Andrew Fisher | Date: | Mon, 13 Sep 2004 19:53:22 +0000 |
| Subject: | PHP not working with Apache 2.0.50 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-14358@lists.php.net to get a copy of this message | ||
Gentlemen,
I've recently compiled Apache 2.0.50 and PHP 5.0.1 on Solaris and can't seem
to get things to work. Apache is working just fine but I can't get it to
display PHP files properly. I've added the "AddType
applications/x-httpd-php .php" and the "AddType
applications/x-httpd-php-source .phps" lines to the httpd.conf file but it
doesn't seem to work. From the command line I can type "php test.php" and
it spews out a bunch of HTML code so PHP *is* working but just not through
Apache.
Yes, I've restarted the system. Yes, I've restarted Apache. Yes, php is in
the path.
Can you offer any advice?
Thanks in advance,
Drew