two instances of php
Joe Orton
jorton at redhat.com
Thu Jun 8 09:56:19 UTC 2006
<2befbd940606071443x660119c2j5fe687574a3018f3 at mail.gmail.com>
On Wed, Jun 07, 2006 at 04:43:25PM -0500, 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
You're confusing the types with the handler names. Something like this
should work:
AddHandler php5-script .php5
AddHandler php-script .php
AddType text/html .php5
AddType text/html .php
Note that you can't use loadable modules if you use --enable-versioning.
(not sure if PHP disables that by default or not)
joe
More information about the fedora-list
mailing list