Re: two instances of php

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

 



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?


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

  Powered by Linux