Run two installations of XAMPP simultaneously [Solved]

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Run two installations of XAMPP simultaneously [Solved]

Postby Xee » 04. March 2012 18:18

I would like to run a local installation of my phpBB3 forums as well as Wordpress simultaneously. On their own, each works fine. However, if I change the port number of my phpBB3 "copy" of XAMPP to 81 I can't bring up the forum. I changed the following line in my phpBB3 config.php file from:

Code: Select all
$dbhost = 'localhost';


to

Code: Select all
$dbhost = 'localhost:81';


and went to http://localhost:81/forum, but the page keeps loading and nothing ever happens. However, if I simply type http://localhost:81 I get the XAMPP splash page, so I know the port is open and working. Can anyone offer any advice? It seems that I need to still change something in my phpBB3 directory but I don't know what it is. Thanks in advance.
Xee
 
Posts: 7
Joined: 06. March 2011 19:35

Re: Run two installations of XAMPP simultaneously

Postby Altrea » 04. March 2012 18:24

Hi Xee,

Why don't you use phpbb3 and wordpress with just one instance of XAMPP?
Your Database can manage more than one database simultaneously and you can place each application in its own folder inside htdocs.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8298
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Run two installations of XAMPP simultaneously

Postby Xee » 04. March 2012 18:45

Wow, I feel stupid. Here I spent the better part of an hour trying to figure it out and the solution was as simple as that. I did what you suggested and they work perfectly together. Thanks a lot!
Xee
 
Posts: 7
Joined: 06. March 2011 19:35


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 72 guests