AddType application/x-httpd-php .php3
AddType application/x-httpd-php-source .phps
You only need to add the second line if you want support for the viewing of the php sources when someone has a file with the .phps file extension.
Sincerely,
Matt Juaire
Lead System Engineer
Wireframe Technologies
On Wednesday, February 12, 2003, at 12:43 PM, Rod Rodolico wrote:
Yes. Install the apache modules and, if the configuration doesn't do it
for you (I seem to remember it didn't), add the line:
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
to /etc/apache/httpd.conf.
It has been a while since I've installed it, but I seem to remember I had
to modify the DirectoryIndex in the same file. Mine looks like:
<IfModule mod_dir.c>
DirectoryIndex index.html index.php3 index.php index.htm index.shtml
index.
</IfModule>
Also, the php configuration files are located in /etc/php4/apache.
Reload apache, it should go.
Rod
Hi,
Is it possible to run php3 and php4 as modules under apache, without
having to compile from source code, ie debian packages?
I probably guess I need to tweak somthing just a bit to make it work :)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
--
The good thing about standards is that there are so many to choose from.
-- Andrew S. Tanenbaum
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

