[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PHP3 + PHP4 + Apache

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

Also, the php configuration files are located in /etc/php4/apache.

Reload apache, it should go.


> 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 debian-isp-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org

The good thing about standards is that there are so many to choose from.
        -- Andrew S. Tanenbaum

Reply to: