do you mean running at the same time?
I was asked this a while back with php 4 and php5 and it wasn't possible then , but now its possible with apache supporting the correct directives.
you will need to use vhosts to specify the php version you want to use, if you haven't used vhosts before, read up on these first to enable them in wamp.
Then you will want the following...
<VirtualHost *:80>
DocumentRoot "c:/wamp/www/site1"
ServerName site1
LoadModule php5_module "c:/wamp/bin/php/php5.4.x/php5apache2_2.dll"
PHPIniDir "c:/wamp/bin/apache/apache/2.2.x/bin"
php_value extension_dir "c:/wamp/bin/php/php5.4.x/ext"
AddType application/x-httpd-php .php
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "c:/wamp/www/site2"
ServerName site2
LoadModule php5_module "c:/wamp/bin/php/php5.3.x/php5apache2_2.dll"
PHPIniDir "c:/wamp/bin/apache/apache/2.2.x/bin"
php_value extension_dir "c:/wamp/bin/php/php5.3.x/ext"
AddType application/x-httpd-php .php
</VirtualHost>
Replace x with your exact version numbers of apache and php.
Steven Martin
stevenmartin99@gmail.comstevenmartin99@hotmail.comPampServer.com - [
pampserver.com]
Edited 1 time(s). Last edit at 12/07/2013 10:54PM by stevenmartin99.