Requirements
Hosting Requirements
Before we start installing Joomla!, there are a couple prerequisites that need to be met to install Joomla! 3.x successfully. These apply whether you have a dedicated server, a shared hosting plan server, or are installing a copy on a local computer for testing or development.
You’ll need to meet the following requirements below to install and use Joomla!
Software | Recommended | Minimum | More information |
---|---|---|---|
PHP (Magic Quotes GPC, MB String Overload = off / Zlib Compression Support, XML Support, INI Parser Support, JSON Support, Mcrypt Support, MB Language = Default) | 5.6 + or 7 +[1] | 5.3.10 + | www.php.net |
Supported Databases: | |||
MySQL[2] (InnoDB support required) | 5.5.3 + | 5.1 + | www.mysql.com |
SQL Server | 10.50.1600.1 + | 10.50.1600.1 + | www.microsoft.com/sql |
PostgreSQL | 9.1 + | 8.3.18 + | www.postgresql.org |
Supported Web Servers: | |||
Apache(with mod_mysql, mod_xml, and mod_zlib)[3][4] | 2.4 + | 2.x + | www.apache.org |
Nginx | 1.8 + | 1.0 + | wiki.nginx.org |
Microsoft IIS | 7 | 7 | www.iis.net |
References
- Jump up↑ PHP 5.3.1 is required for versions 3.0 through 3.2. At 3.3, the minimum is raised to PHP 5.3.10.
Only Joomla! versions 3.5 and later are compatible with PHP 7. - Jump up↑ Joomla is not yet compatible with MySQL 6.x.
- Jump up↑ In order to use Search Engine Friendly URLs, you will need to have the Apache mod_rewrite extension installed.
- Jump up↑ The mod_suphp extension or mod_fcgid extension is recommended to enable Joomla to upload and execute files using secure file permissions.
Recommended PHP.ini Settings
There are some PHP settings that need to be sufficient for Joomla to install. The settings are usually in a “php.ini” or “user.ini”. Talk to your host about how to change theses settings if it is possible to do so. If working on a localhost e.g. with XAMPP, you should not be restricted by these settings and VPS or dedicated hosting should also not be as restrictive.
The values for PHP.ini below are suggested values only.
- memory_limit – Minimum: 64M Recommended: 128M or better
- upload_max_filesize – Minimum: 20M
- post_max_size – Minimum: 20M
- max_execution_time: At Least 120 Recommended: 300
Prepare for Install
You will need to complete two tasks before you can install Joomla! on your server. First, you will need to download the Joomla! package files. Next, you will need to have a database for Joomla! use.
Downloading and Uploading Joomla! Package Files
- Download the current release of Joomla! 3.x
- Move the downloaded Joomla! installation package to the server. Use a FTP Client to transfer the Joomla! 3.x files to your server. There are several available for use, here is a detailed list of FTP Clients. Please make sure you are using a FTP client’s official release.
Hint – This can be accomplished by simply moving the downloaded package to your server, then unpacking it. Or you can unpack the files on your local computer, then move the Joomla installation over to your server. Either way, the Joomla installation needs to be unpacked in the root of your site.
The “root” of your site is the public folder where all web page files are stored so that a user can view the site examples include public_html and htdocs. What your Host uses depends on them.
Your Server’s “root” Folder
Normally you upload your web files to the root folder. This is typically named “public_html” but other variations include “htdocs” and this depends on what your host has the set up on the server. For Joomla purposes, you can load the files directly into “public_html” or a sub-folder within it.
Warning!
If you unpack the files on your own computer, then copy them to your server, be sure to move only the folders and files contained INSIDE the Joomla! package. If you unpack the folders and files into a folder, for example called,
Joomla
and then upload that folder, your site will have to be accessed at
yoursitename.com/Joomla
instead of
yoursitename.com
.Database for Joomla! Installation
- If you need to create a database, please read “Create a database for use with Joomla!“ first or skip to step #2.
- You will need to note basic database information needed when the actual Joomla! installation is started.
- Location of database, localhost? Or a specific host’s server such as
-
dbserver1.yourhost.com
? - The database name
- The database user’s name
- The database user’s password
Start Install
Main Configuration
With the above requirements met, a database created and the required Joomla! files in place, you are ready to install Joomla!. Start the Joomla! web installer by opening your favorite browser and browsing to the site’s domain name. On host installation you will use
http://www.yoursitename.com
.If your are installing Joomla! locally, you will use
http://localhost/<path to Joomla files>
,and you should see the installation screen.
Joomla! will try to identify the Select Language field automatically from your browser’s language. You can change this if needed.
Fill in the following information.
- Site Name: the name of your website — this can be changed at any point later in the Site Global Configuration page.
- Description: enter a description of the website. This is a global fallback meta description used on every page which will be used by search engines. Generally, a maximum of 20 to 25 words is optimal. Again, this can be changed on the Site Global Configuration page at any time. For more on metadata, see Global Metadata Settings and Entering search engine meta-data.
- Admin Email Address: the admin email address. Enter a valid email in case you forget your password. This is the email address where you’ll receive a link to change the admin password.
- Admin Username: Joomla! uses a default “admin” as the username for the Super User. You can leave it as is, change it now (which a good Security measure) or use My Profile in the Administration interface to change it later.
- Admin Password: remember that super user has maximum control of the site (frontend & backend), so try to use a difficult password. Use My Profile in the Administration interface to change it later. Confirm the password in the Confirm Admin Password box.
- Site Offline: click the Yes or No box. Yes – this means when installation is complete, your Joomla! website will display the ‘Site is offline’ message when you browse to
yoursitename.com
to view the home page. No – this means the site is live when you browse toyoursitename.com
to view the home page. You can use the Site Global Configuration in the Administration interface to change the Offline status at any time.
When everything on the first page is completed, click the next button to proceed:
Database Configuration
Configuration Settings
You will need to enter the information about the database you will use for Joomla! now. It was suggested to write this information down under “Prepare for Install” tab. You may also read or review Creating a Database for Joomla!.
For simplification, these intructions are a reference to installing with a MySQLi database. The instructions on the installation page are self explanatory, but here they are again:
- Database Type: MySQLi is the common database used
- Hostname Where is your database located? Common is
localhost
, but some hosts use a specific database server such asdbserver1.yourhost.com
- Username: the username used to connect to the database
- Password: the password for the database’s username
- Database Name: the name of the database
- Table Prefix: one is generated automatically, but you can change it. For example,
jos3_
can be used. Just don’t forget to put the underscore character (_
) at the end of the prefix. - Old Database Process: should the installer backup or delete existing tables during the installation of new tables? Click, Yes or No to select the choice.
All these choices can be edited on the Site Global Configuration page, under Server options after the installation is completed. Note, you will break your installation if you change these settings after installation unless you have a complete copy of the current database being used by the Joomla! installation. Common uses would be to update the username and password of the database or to complete a move of an existing installation to a new host with different parameters.
When all the information has been filled in, click the next button to proceed:
Finalise
Overview
It is now time to finalise the Joomla! installation. The last page of the web browser installation contains all the information about the installation. This includes the options(at the top) for installing sample data and the installation’s configurations(at the bottom).
Install Sample Data and Email Configurations
The first options are for automatically installing sample content to the website and emailing the configuration settings.
If you are new to Joomla! it would be beneficial to install some sample data to see how Joomla! works. You can at this time choose to have the configuration settings emailed to you. If the Email Configuration choice is selected, the Email Password choice will appear. The email password is off by default for security. You can choose to have the password included, just click Yes.
Time to check the configurations of your install and the environment of the installation.
Configuration Check
Checking Your Configurations
If everything is in order, you will see the install at the top of the overview page. If not, this is the place to check and see what may be causing an issue.
The section is broken into 4 groups:
- Main Configuration: all the website specific information, such as the website name, description, admin username, etc.
- Database Configuration: contains the information about the database Joomla! will use.
- Pre-Installation Check: these requirements must all be shown as Yes, otherwise you will not be able to install Joomla! With the exception of the PHP Version, the rest are usually controlled in the php.ini. You may need assistance from your host in correcting these settings or checking to see if it is possible to adjust them.
- Typical PHP settings that might cause the install to fail and may need adjusting include the following with suggested values: (1) memory_limit (64M), (2)max_execution_time (300), (3) post_max_size (30M), (4) upload_max_filesize (30M). For more information, see PHP configuration file file.
- Recommended Settings: these are settings are recommended in your PHP configuration, but will not prevent Joomla! from being installed. You can refer to the above instructions on how they may be changed.
If everything is correct and all checks are passed, you may now click the Install button in the top right corner of the Overview page. This will start the actual installation process.
After you click the Install button, you should see a progress bar with additional information of the installation. Once the installation completes, you should see the success page!
Finishing Up
Success and Finishing Up the Installation
Congratulations! Joomla! 3 is now installed. If you want to start using Joomla! right way without installing extra languages there is one last step to complete the installation. You must delete the Installation Folder. Click on Remove Installation folder and a success message will appear. Now you can navigate to the Administrator log in by clicking Administrator or go right to your site by clicking Site.
Installing Extra Languages
Before you complete your installation by deleting the Installation Folder, click on:
& Extra steps: Install languages
This will continue the installation of Joomla! by taking you to a new installation page.
Install Languages
A list of language packs is displayed.
Check the language or language packs you wish to install. Remember the following:
- Language packs included in custom distributions will not be listed at this stage as they are already installed.
- A version of the packs proposed will match the Joomla Major version (3.0.x, 3.1.x, etc.). The minor version of the pack may not correspond, e.g. you are installing version 3.3.3 and a 3.3.2 language pack is shown.
- Unmatched language packs in the above example may have untranslated strings.
- The unmatched language packs will be offered as an update when the packs are updated by the registered Translation teams. The available update will be shown in the Control panel as well as in Extensions Manager → Update. This behavior is similar to Extensions Manager → Install Languages.
Click Next and a progress bar will be display while the language pack or packs are downloaded.
Choose Default Language
When the download is complete you can choose the default language for the Site and the Administrator interface.
You may also choose to activate the multilingual features of Joomla! at this time too.
- Click Yes next to Activate the multilingual feature
- Two additional choice will appear.
- Install localised content, yes or no. This will automatically create one content category for each language installed and one featured article with dummy content for each content category installed.
- Enable the language code plugin, yes or no. If enabled, the plugin will add the ability to change the language code in the generated HTML document to improve SEO.
When you completed all the choices of language installation, click Next to proceed.
Finalise
You will now be presented with a very similar Congratulations! Joomla! is now installed. screen. The difference will be a notation of the default Administrator and Site language settings, if they were set. You will also not see the Extra Steps message in the bottom right.
Now you can delete the Installation Folder. Click on Remove Installation folder and a success message will appear. Now you can navigate to the Administrator log in by clicking Administrator or go right to your site by clicking Site.