Developing more than one website on localhost under XAMPP

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

Developing more than one website on localhost under XAMPP

Postby Cyber Beginner » 06. May 2016 09:07

Hi there,
first of all, sorry for my week English!
I'm very beginner in Joomla programming and I would have some questions this regarding.
I would like to develop some website with Joomla, but first time only on localhost. Therefore, I installed XAMPP v3.2.1 and bitnami-joomla-3.4.1-0-module-windows-installer.. This installed all the files in the folder C:\xampp\apps\joomla.
I think, I can only develop only one website in this folder.
My questions:
1./ How could I rename “joomla” folder before programming? (I think in this case the normal rename function doesn’t work.
2./ How could I develop more than one localhost websites in the same time with different names in separated fodders?
Thank you in advance for your help.
Cyber Beginner
 
Posts: 5
Joined: 05. May 2016 22:21
XAMPP version: 5.6.3
Operating System: Windows 8.1

Re: Developing more than one website on localhost under XAMP

Postby Altrea » 06. May 2016 11:01

Hi,

Cyber Beginner wrote:Therefore, I installed XAMPP v3.2.1

No, there is no XAMPP version 3.2.1. Only the control panel component does have this version number:
More to read where to find the XAMPP number here: [Q&A] Insufficient debug information - base information

Cyber Beginner wrote:This installed all the files in the folder C:\xampp\apps\joomla.
I think, I can only develop only one website in this folder.

correct

Cyber Beginner wrote:1./ How could I rename “joomla” folder before programming? (I think in this case the normal rename function doesn’t work.
2./ How could I develop more than one localhost websites in the same time with different names in separated fodders?

Don't use the quick Bitnami installers for this task as you already know they use default folders to install.
Use the original Joomla installer instead so you can choose the folder name and database name yourself.

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: 8293
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Developing more than one website on localhost under XAMP

Postby Nobbie » 06. May 2016 11:11

If you have no skills about Apache, no skills about MySQL and no skills about Joomla and no skills how to configure these tools, that might get a nasty job for you. Therefore i recommend, simply download VirtualBox, create some Windows machines (or Linux, if you prefer, Xampp is available for al OS) inside and finally use each virtual machine for a different Joomla environment. That might be far easier for you than to learn how to configure the whole bunch of Xampp and Joomla.
Nobbie
 
Posts: 8770
Joined: 09. March 2008 13:04

Re: Developing more than one website on localhost under XAMP

Postby Cyber Beginner » 06. May 2016 11:36

Thanks, my correct XAMPP version # is 5.6.3 ...
Sorry for my mistake.

I'll try all of your recommendation and I'll come back to you with the results.

Thanks again.
Cyber Beginner
 
Posts: 5
Joined: 05. May 2016 22:21
XAMPP version: 5.6.3
Operating System: Windows 8.1

Re: Developing more than one website on localhost under XAMP

Postby Cyber Beginner » 09. May 2016 23:19

Hi,
I tried to install Joomla, but I ran all the times to error . . .
I have a couple of sreen shots I'd like to share with you, but I didn't find, how to attach files.

Do you have any idea?

Now, I explain the issue below - without the screen shots.

First of all, I’m sorry for bothering you with my beginner questions. I’m a very beginner with XAMPP and Joomla and have problem with Jommla installation under XAMPP.

I’ll try to explain my steps of installation (with screen shots) and I hope anyone can help me to solve my mistakes…

Operating System - Windows 8.1 64-bit

1. I downloaded and installed XAMPP
• downloaded version - xampp-win32-5.6.3-0-VC11-installer.exe
• installation path - "C:\xampp"
• XAMPP is running, (see screen shots: xampp.png, xampp_config.png)

2. I created
• database (see screen shot: database_1.png)
• user privilege (see screen shot: user_privileges.png)

3. I downloaded and tried to install Joomla
• downloaded version - Joomla_3.5.1-Stable-Full_Package.zip
• extracted to folder - "C:\xampp\htdocs\cg\"
• start installation – "http://localhost/cg/installation/index.php"

4. I filled out the requested fields for installation (see screen shots: install_step_1.png, install_step_2_mysql.png [trying with Database Type :MySQL], install_step_2_mysqli.png [trying with Database Type :MySQLi], install_step_3.png

5. clicked on "Install" button.

6. Installation was beginning.

7. Installation created a bunch of database tables (see screen shot: database_cg_tables.png) and then the installation had frozen (see screen shot: frozen_installation.png). I think the installation had frozen during creating database tables . . . (this process seems to be incomplete – e.g., I can’t find any “user” table)

I started installation over and over again, but I got always just the same result . . .

That’s all about my installation. Please, give me a hint – how could I solve this issue.

Thanks in advance for your help.
Cyber Beginner
 
Posts: 5
Joined: 05. May 2016 22:21
XAMPP version: 5.6.3
Operating System: Windows 8.1

Re: Developing more than one website on localhost under XAMP

Postby Altrea » 09. May 2016 23:49

Most common reason for freezing Joomla installations is that the max_execution_time setting in php is set too low.
The default value is 30, Joomla commonly needs longer to execute some of the installation requests.
Increase the value to for example 300 and restart Apache. After that retry to install Joomla.
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: 8293
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Developing more than one website on localhost under XAMP

Postby Cyber Beginner » 10. May 2016 06:32

Thanks for your hint. Seems to be working ...
Should I leave max_execution_time at 300 or reduce to 30 again after installation?
Cyber Beginner
 
Posts: 5
Joined: 05. May 2016 22:21
XAMPP version: 5.6.3
Operating System: Windows 8.1

Re: Developing more than one website on localhost under XAMP

Postby Altrea » 10. May 2016 06:49

That is up to you. On local test environments that should not do any harm.
Setting max_execution_time too high can result in endless running requests, cpu and memory usage so that no more requests can get processed by Apache/PHP
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: 8293
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Developing more than one website on localhost under XAMP

Postby Cyber Beginner » 10. May 2016 14:59

Thanks for your help.
Cyber Beginner
 
Posts: 5
Joined: 05. May 2016 22:21
XAMPP version: 5.6.3
Operating System: Windows 8.1

Re: Developing more than one website on localhost under XAMP

Postby Altrea » 10. May 2016 15:15

You are welcome 8)
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: 8293
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: DrSeussFreak and 65 guests