note 35205 added to install.apache2
| From: | dave at psntn dot com | Date: | Sat, 23 Aug 2003 13:36:25 +0000 |
| Subject: | note 35205 added to install.apache2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-54941@lists.php.net to get a copy of this message | ||
I have Apache 2, PHP 4.3.2 and PHP 5 Beta 1 running together.
This can be done by putting this in your httpd.conf file:
# Begin PHP 4 and 5 bit
ScriptAlias /php/ "/php4/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe
ScriptAlias /php5/ "/php5/"
AddType application/x-httpd-php5 .php5
Action application/x-httpd-php5 /php5/php.exe
# End PHP 4 and 5 bit
Change the "/phpx" to reflect the location of php 4/5 on your computer
----
Manual Page -- http://www.php.net/manual/en/install.apache2.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35205
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35205&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35205&report=yes