two server

If you want to run two instance of apache, there is a trick. I tried this for easyphp & XAMPP on windows. I was already having a working XAMPP server on my windows PC. I installed easyphp on the same PC. Now when I tried to start apache it gave that firewall has block the port and therefore cannot start apache. you just need to change the port for apache . Edit the file \apache\conf\httpd.conf and edit l following line

Listen 12.34.56.78:80
to
Listen 127.0.0.1:1024

You can also try any other number. Also when you open the browser to run any script: Like

http://localhost:1024/info.php

or

http://127.0.0.1:1024/info.php

File info.php

<?php
phpinfo();
?>
Advertisements