Install Joomla on Your WampServer
I know that a Joomla is “off-topic” for TechTraction, however, if you read my previous post about creating a WordPress staging/development server and installed a WampServer, then why limit yourself to just using that WampServer for WordPress? Tap into the full potential of that installation and use it to test drive another content management systems (CMS) such as Joomla? If that sounds like something you want to do, then keep reading because this article will walk you through setting up Joomla on an existing WampServer installation.
What is Joomla?
Joomla is an open-source content management system (CMS) used for building web sites and other online applications. While WordPress is mostly a blogging platform with basic CMS capabilities, Joomla is primarily about CMS with “blogging” being a CMS feature you can add to a Joomla installation. Based on my Joomla and WordPress experience I prefer WordPress for blog specific or small simple purpose web sites. Anything on a medium to large scale, with limited to no blogging requirements, is better served by a CMS application such as Joomla.
Installing Joomla
If you haven’t setup a WampServer on your home computer, start with my article detailing the necessary steps for installing your own WampServer. After reading that article, you’re ready to install Joomla.
Step 1: Download Joomla
Start by downloading the latest stable build of Joomla. At the time of this article version 1.0.12 was the latest stable build; however, follow the Joomla download link and you quickly see several download options. Assuming you plan to install Joomla on a WampServer, and you haven’t installed a previous version of Joomla, download the latest “full package” with a zip extension. Other options on this page are for Unix based installations or patches from an older version to the latest version. Don’t get overwhelmed by the available options — simply read the complete file name and you’ll easily find what you need.
Step 2: Create a Joomla Installation Directory and Uncompress
Next, use Windows Explorer and navigate to the “www” directory under your WampServer installation directory (in my case the complete path was c:\wamp\www). Now, create a new directory called “joomla” in the “www” directory (that left me with a complete path of c:\wamp\www\joomla). Using whatever method you choose, uncompress the downloaded file into this new directory.
NOTE: You can name the uncompressed target directory anything you want. You don’t need to use “Joomla” — just make sure it’s located under the “www” directory of your WampServer installation directory.
Once the download is uncompressed, start your WampServer, open a browser, and enter “localhost” in the URL address and press enter. You should now see the WampServer welcome page and a new option under your projects section: Joomla
Step 3: Joomla Pre-installation Check List
Once you select “Joomla” from the available projects section of the WampServer screen, the Joomla pre-installation check list screen appears. On this screen you should see four sections:
- Required Settings Check
- Security Check
- Recommended Settings Check
- Directory and File Permissions Check

Depending on any customizations you may or may not have made to your WampServer installation the pre-installation check list will display different items that might need adjustment. In my case I needed to turn off the Regular Global Emulation option in the Joomla global.php file. I knew that because under the Security Check section I saw a message instructing me to disable this setting.

To disable this setting I located the global.php file in the Joomla directory (in my case c:\wamp\www\joomla), opened it in a simple text editor (I used WordPad because it formats the file better than NotePad), and searched for RG_EMULATION.
Near the top of the global.php file I found where the RG_EMULATION gets enabled and disabled. The default setting appeared as follows:
define ( 'RG_EMULATION', 1 );
Going with typical boolean logic, I assumed that “1″ meant “on” (aka true) so I switched it to “0″ (aka false) to turn it off as instructed. My edits appeared as follows:
define ( 'RG_EMULATION', 0 );
I continued to search the global.php file for other occurrences of this setting and only found it one other time. This other appearance was part of a conditional statement and did not need any alteration.
Once you’ve made all the necessary edits, click “check again” in the upper right portion of the screen. If you adjusted everything as instruction (in my case it was just the one RG_EMULATION change), the Security Check section disappears and all other sections have nothing but “green” on the right hand side signifying everything is good to go. Click “next” to continue and the general license screen appears. Click “next” again on this screen to continue.
Step 4: Joomla MySQL Configuration
On the MySQL configuration screen you are prompted to enter five pieces of information:
- Hostname: Enter localhost.
- MySQL User Name: Since Joomla is getting installed on top of an active WampServer installation on your home computer, just enter “root”
- MySQL Password: Leave this blank
- MySQL Database Name: Originally I tried to call it “joomla” but that caused this part of the installation to fail. To correct the problem I changed the name to “joomtest” and everything worked fine. You can call your database anything you want — except for Joomla.
- MySQL Table Prefix: Accept the default prefix

Click “next” to continue.
Provided everything was entered correctly, you get a “success” screen and an option to give your site a name. Don’t confuse the site name with the URL of your site. In my case, I called the site “Joomla Test Site” and pressed “next” to continue.

Step 5: Confirm Installation Settings
In this step you are prompted to confirm the “URL” (in my case http://localhost/joomla yours may differ if you selected a different installation directory) and the “path” (in my case c:\wamp\www\joomla). On this screen you can also enter the email for the Joomla administrator. You can put a real email address in there or something fake. In either case, email notifications won’t get sent because you probably haven’t configured an SMTP outbound mail server. Finally, an auto generated admin password is displayed. I suggest you change the password here to something simple. Again, since Joomla will be running on a WampServer on your home computer, most likely, go ahead and use something simple such as “password” for the actual password. Leave the file and directory permission settings to the default settings and click “next” to continue.

A final screen appears and reminds you of the username and password for the administrator account and instructs you to remove the Joomla installation directory.

You also have two options on this screen:
- view the site
- administer the site
I selected “view site” and was reminded again to delete the installation directory.

Open Windows Explorer and navigate to the Joomla directory under the “www” directory of your WampServer installation (in my case c:\wamp\www\joomla). In this directory look for the “installation” directory, select it, and press delete. Now, go back to the browser and refresh the page. If you did everything correct, you’ll see a generic Joomla server index page.

At this point I suggest you refer to the Joomla web site for further information about this CMS application. Also, for anyone interested, I located two Joomla specific books at Amazon:
- Building Websites with Joomla! by H. Graf
- Beginning Joomla!: From Novice to Professional (Beginning: from Novice to Professional) by Dan Rahmel
Personally, I have no direct experience with either of these books; however, the second book, Beginning Joomla!: From Novice to Professional (Beginning: from Novice to Professional), comes from the publisher Apress and I have had good luck with other publications from that publisher. If anyone has either of these books and can offer any insight, please feel free to leave a comment for the benefit of other readers.
In the meantime, download Joomla, install it on your WampServer, and take it for a test drive.
Share, Bookmark, or Email this post
If you liked this post, subscribe to TechTraction's RSS feed or TechTraction's email feed
Filed under: How-To & Tech Tips

Thank you for sharing the information on how to change the RG_EMULATION and installation directory. Curious as to if you would recommend now how to set-up tutorial.
russ
Hi Russ, thanks for the comment.
For more about setting up Joomla I would suggest starting with the user guide just so you get a general overview of how Joomla works (http://help.joomla.org/images/User_manual/user_manual_v1%200%201_10%2021%2006.pdf). After that I would move on to the online adminitrator’s guide (http://help.joomla.org/content/section/47/280/). The Joomla help section also offers several other sources of documentation and education (http://help.joomla.org/). I noticed an offering for some “visual tutorials” which might be a nice alternative to reading manuals. Other than those options, I haven’t come across much else on the topic of Joomla. The product is popular but I don’t see the same amount of independent web sites, themed templates, plugins etc on the same level of WordPress. Hope that helps.
This seems like a great service. I am going to have to check this out. Thanks for the instructions. What websites have you used it for? Do you feel that it is as easy to handle as Wordpress?
I’ve only used Joomla for one other site. It’s a very feature rich package and great if you want to create a more traditional web site and enable several other users of various access levels to help create content and manage the site. If, however, you’re needs are simple, Joomla is overkill - IMHO. As far as a comparison to WordPress, that’s kind of a tough call. I have a personal preference to WordPress. It’s just much easier to get up and running and there seems to be an endless amount of well designed “FREE” themes to choose from. Joomla, from what I have seen, doesn’t have as many free themes available. WordPress, again IMHO, is just easier to work with. Most of the features and options are layed in an intuitive format. My recommendation would be that if you can do with WordPress, then use WordPress. If not, then Joomla might be an option worth considering. Also, I’ll be publishing instructions for installing Drupal on Wamp in the next few days. Drupal is another free CMS and is more in line with Joomla than WordPress in terms of features. Thanks for the comment. Hope my response helped.
I’ve tried installing Drupal before but was not successful in terms of controlling it to follow my design, so I end up using WordPress. WordPress, IMHO, is still the best cms for me.
Wites, from what I have experimented with thus far, I agree, WordPress is the best CMS. Joomla, while being very powerful, is not nearly as intuitive as WordPress. Drupal, on the other hand, is highly praised by many but I have yet to give it a go. Looks like I’m still a little behind with installing it on my WampServer. Looks like I’d better get going on that. :). Thanks for the comment.
forgive me because i am new to this but how i move my site from wampserver to an internet server
I think the easiest way to move a site from a wampserver to a hosted site is to follow these 3 simple steps:
Install WordPress on your hosted site.
Install your selected theme and plugins.
Export your content from your wampserver version and import to your hosted site. Please search this site for a recent post outlining how to use the WordPress import/export feature — it’s very easy.
Please let me know if you need more detailed instructions. I’d more than happy to write a more detailed post.
Also, having a local install of Joomla is a great tool for working on templates for your Joomla! website. Good article thanks.
I think comparing Joomla to WP is like comparing apples and oranges. WP is great for a more linear line of news postings where as Joomla is great for a broader line of topics and categories. This Newspaper (WP) and a Magazine (Joomla) - both serve news but in a different reading format.
Thanks very much for the detailed explanation of a Joomla install of course now that we have Joomla 1.5 it is different patch of coding
joomla 1.5 video tutorial
Guy, Tony, and Azzam, thanks for the comments.
Tony, I agree that Joomla and WordPress are two very different animals when it comes to CMS applications; however, I don’t believe I was comparing the two applications but rather just detailing the steps for installing Joomla on a WampServer.
Azzam, thanks for pointing out the existence of 1.5. I’ll have to try and install that version on my WampServer and see how it differs from my previous instructions.
A Mambot is a small, task-oriented function that intercepts content before it is displayed and manipulates it in some way. Joomla provides a number of Mambots in the core distribution. Let’s try in this tutorial to install mambots.
nice tutorial. I have same tutorial with you. But I have free ebook for Joomla 1.0.xx. Now I am writing for Joomla 1.5
Good jobs.
Hey Ari, thanks for the positive feedback. Glad you liked the article.
can i install joomla on a different directory but still run it on the root?
like if my joomla files are in htdocs/joomla/
but i want joomla to run on http://localhost not on http://localhost/joomla/
hope i’m clear
thanks!
Hi philber, using a WAMP server you can’t easily set up the directory and local URL paths they way you mentioned above. Keep in mind that WAMP sets c:\wamp\www as the localhost root. From there you set up individual directories to represent various web sites you want to simulate on your computer. Typically you would set up Joomla one layer beneath the WAMP root which gives you something like c:\wamp\www\joomla and when entered into a browser the URL looks like localhost\joomla. You can, however, override the localhost root set up by WAMP. Keep in mind that you’ll be giving up the nice WAMP web interface.
All that being said, to do exactly what you want, simply experiment with the virtualHost section of your httpd.conf file for your WAMP installation. Find the virtualHost section that defines c:\wamp\www as the Documentroot followed by servername equal to localhost. Leave the servername setting “as is” and then change the document root to wherever the Joomla document root is (in your case I believe you said it was htdocs/joomla). Give that a try and let me know how it goes.
Thanks for the comment.
Hi,
Thanks for the instructions. I followed them and voila joomla was installed.
Regards.
Glad I could help out. Thanks for stopping by and leaving a comment.
Cheer Bret, nice visual tutorial.
Thanks Tera, glad you enjoyed the tutorial.