ZeroByter
ZeroByter

Reputation: 374

XAMPP how to have multiple applications

So, I have a project I am working on, but I want to work on a different project which requires a different Apache directory AND different MySQL database. I have never really messed with XAMPP configurations so I don't know how to do this, help will be greatly appreciated! thanks.

Upvotes: 0

Views: 2088

Answers (1)

venkatKA
venkatKA

Reputation: 2399

Let's say your DocumentRoot in httpd.conf file is directed to xampp\htdocs. Assuming you're trying to set up a WordPress project and a drupal project, create two folders under htdocs wp and drupal and have your projects inside them. You'll be hitting the projects by http://localhost/wp and http://localhost/drupal. Create two virtual hosts entries in hosts-config file to give different server URLs to your projects.

Upvotes: 3

Related Questions