|
I'm working with two projects, one that works with mysql and another that should work with postgre so I'm planning to install a separate apache server on my machine which has wamp installed. Will it work? |
|
The short answer is yes. You just need to point the other to a different port (since both will try to use the default port, which is 80). In your Personally, I make use of (Named) Virtual Hosts. In your WAMP, you may configure your Here's a sample configuration that you can add to those configuration files:
Then I append the following in my
Notice the the value of the 1
what i did is make the xampp be port 80, the OTHER apache port 8080 - Change your Listen:80 to Listen:8080 for the OTHER apache .conf file. Now they both connect to the same mysql (xampp's) but that is alright. I just wanted to have a secret "homepage" which only I know the port number. I also was testing whether I can install apache + php without xampp, and it's easy - just remember the gotcha where you have to unzip the php zip file into php's directory to get the php5_apache2.2.dll file in place Thank you for the replies/answers, I followed your instructions and the installation was successful. Thanks! |