03 August 2010

How to install Joomla on Windows

For development purposes, I needed Joomla installed on my Windows XP system. However, Joomla has some infrastructure requirements often not found on Windows boxes. Here are some steps on how to successfully install Joomla on your PC:
  1. Download the XAMPP for Windows package. I downloaded the EXE and installed it at the root C: in the XAMPP folder.
  2. If you also have IIS running on your system, after the installation, change the default port used by Apache.
  3. The XAMPP installation will automatically ask you if you want to launch its control panel. If it's not already running, go to Start > XAMPP for Windows > XAMPP Control Panel.
  4. Click to start the Apache and MySql services (if they're not already running). When they successfully start, you'll see a green indicator saying "Running" next to each service. [Note: If the services take too long to start, it's more than likely because port 80 is being used by IIS; follow Step 2 above to change the Apache port to something else and try to start the services again.]

  5. Download the latest version of Joomla.
  6. Create a folder named joomla under C:\xampp\htdocs\
  7. Unzip the contents of the Joomla ZIP file into this new folder.
  8. Open your browser and navigate to http://localhost/ or, if you changed the Apache port, to http://localhost:xx/, where xx is the port number you assigned to Apache in Step 2.
  9. Click the phpMyAdmin link and go to "Privileges" on the MySQL database.
  10. Choose "Add a new User" and give it a name and password you can remember.
  11. Under "Global privileges" for this user, click "Check All" to grant all rights to this user.
  12. Click Go to create the user.
  13. Go to the Databases tab and create a database for Joomla (could be called joomla).
  14. Open your browser and navigate to http://localhost/joomla/ or, if you changed the Apache port, to http://localhost:xx/joomla/, where xx is the port number you assigned to Apache.
  15. Follow the wizard until you get to the database screen. Here, enter the information for the database and user you just created. For the host, use localhost. Important: Do not enter the port number after the host name, such as localhost:xx because this will not work and it won't generate an error; enter only the word localhost into the Host Name field.
  16. Upon successful completion, Joomla asks you to delete the installation folder. Go ahead and do that.
  17. To see the Joomla home page, reload http://localhost/joomla/ or, if you changed the Apache port, http://localhost:xx/joomla/, where xx is the port number you assigned to Apache.



Additional resources on installing Joomla with XAMPP on Windows and other platforms can be found on the Joomla docs site.

2 comments:

pixelsmedia said...

Hello,
Its excellent.Really i loved read this blog.Its highly informative. I would be visiting your blog hereafter regularly to gather valuable information.You can also find interesting stuf here Web Development Services.

Sunitha said...

Really very informatics information on Joomla CMS. You guys are really doing a great job by sharing this article. I have taken some of the points from this article. Thanks for the great info.

Joomla Development