two instances of php

Ben Lancaster lists at benlancaster.co.uk
Wed Jun 7 21:54:07 UTC 2006


On 7 Jun 2006, at 22:43, sharif islam wrote:

> I am trying to install php4 and php5 in the same machine. Do I need to
> point it to different .ini?
> I included this two lines in httpd.conf
> AddHandler application/x-httpd-php .php
> AddHandler application/x-httpd-php5 .php5
> config for php4
>
> './configure' '--with-apxs2=/usr/sbin/apxs' '--enable-trans-sid'
> '--with-mssql=/usr/local/freetds' '--with-gd' '--with-gdbm'
> '--with-freetype-dir' '--with-zlib-dir' '--enable-sockets'
> '--enable-versioning'
>
> php5
> './configure' '--prefix=/usr/local/php5'
> '--with-config-file-path=/usr/local/php5'
> '--with-apxs2=/usr/sbin/apxs' '--enable-trans-sid'
> '--with-mssql=/usr/local/freetds' '--with-gd' '--with-gdbm'
> '--with-freetype-dir' '--with-zlib-dir' '--enable-sockets'
> '--enable-versioning'
>
> When I try to load test.php it works fine. However, test.php5 gets
> rendered as plain text.

What httpd version are you running?




More information about the fedora-list mailing list