note 42077 added to install.apache2

From: Date: Sun, 02 May 2004 20:44:17 +0000
Subject: note 42077 added to install.apache2
Groups: php.notes 
Request: Send a blank email to php-notes+get-69114@lists.php.net to get a copy of this message
You CAN run BOTH PHP4 and PHP5 on the same Apache instance. 1- Configure PHP4 with --prefix and --with-config-file-path 2- Build and install PHP4 3- On Apache, instruct to use php, php4, and phtml to application/x-httpd-php and phps to application/x-httpd-php-source Now comes the most important part: 4- Unpacks PHP5 source and replaces all matches of application/x-httpd-php to application/x-httpd-php5 and application/x-httpd-php-source to application/x-httpd-php5-source 5- Configure PHP5 with --prefix and --with-config-file-path (to another dir) 6- Build and install PHP5 7- On Apache, instruct to use php5 to application/x-httpd-php5 and php5s to application/x-httpd-php5-source I didn't tested all enough, but this should work well. Regards, Herbert G. Fischer www.mamute.net ---- Manual Page -- http://www.php.net/manual/en/install.apache2.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42077 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42077&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42077&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#69114) next »