Trouble with php-4.1.0 and apache-2.0.28beta
| From: | Tim Kettler | Date: | Sun, 16 Dec 2001 19:11:42 +0000 |
| Subject: | Trouble with php-4.1.0 and apache-2.0.28beta | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5316@lists.php.net to get a copy of this message | ||
Hello,
I just installed apache-2.0.28beta on my system and it is running without
problems so far. But now I want to php enable the installation with the
latest release (4.1.0). I configured, compiled and installed it with the
following options as a DSO:
./configure --prefix=/usr \
--with-apxs2=/usr/bin/apxs \
--with-config-file-path=/etc
This also went through without a problem. Next I added the needed options
to my httpd.conf:
<--snip-->
LoadModule php4_module /usr/lib/apache/libphp4.so
<--snip-->
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
<--snip-->
But now, when I try to view a php script my browser just wants to download
the script. Also there are no error or other useful messages in the logs,
that could give a hint what went wrong.
I already searched through the archives and many other documents but could
not find anything that I could have done wrong.
Any hints and are welcome...
Thanks in advance
Tim Kettler