Re: two instances of php

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

 



<2befbd940606071443x660119c2j5fe687574a3018f3@xxxxxxxxxxxxxx>

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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux