two instances of php
sharif islam
sharif.islam at gmail.com
Wed Jun 7 21:43:25 UTC 2006
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.
--sharif
More information about the fedora-list
mailing list