1. Brivium

    Brivium - Aug 21, 2014 XenForo Services Staff Member


    In this tutorial, we will walk you through the steps on how to install XenForo. As XenForo 1.4.0 was recently released, we are eager to install it on our server and begin using it!

    • PHP: 5.2.11+
    • MySQL: 5.0+
    • PHP extensions: MySQLi, GD (with JPEG support), PCRE, SPL, SimpleXML, DOM, JSON, iconv, ctype
    • PHP safe_mode off

    Step 1:
    Download the XenForo Package
    The first step in installing XenForo is to actually download it. You must buy a license in order to download XenForo source code.


    Once you have done that, you will receive the compressed versions of XenForo, either .zip. Locate the installation package that you've just downloaded and extract it to a new folder.

    Step 2: Upload the XenForo Files to Your Server
    Now, you need to upload the extracted files and folders to your web server. The easiest way to upload XenForo installation file is via FTP. At this point you will need an FTP client and FTP login credentials for your server. If you don't know these, your hosting provider will be able to assist you.

    If you want your XenForo to be the main installation on your account and to be accessible through your main domain (i.e. www.brivium.com), you need to upload the extracted files to your public_html folder. If you want to access XenForo on a subfolder of your domain (i.e www.brivium.com/xenforo) you should upload it to the appropriate subdirectory (i.e public_html/xenforo).

    Step 3: Setting Permissions
    After the files are finished uploading, you must setting permissions (or CHMOD) several places. This is necessary to ensure that XenForo can write to those parts of your server.

    1. After finished uploading, you will see 2 folders: data and internal_data
    2. These two directories must be set to world writeable or give the IUSR_Full Control in Windows
    Step 4: Create a Database
    Next, you need to create a MySQL database and assign a user to it with full permissions.


    Once you create your MySQL Database and User, make sure you write down the database name, database username and password you've just created. You will need those for the installation process. If you don't know these, your hosting provider will be able to assist you.

    Step 5: Go Through the Installation Process


    From the browser does to the folder install the URL in corresponding to Upload directory. (i.e www.brivium.com/install/). Follow of the on-screen instructions until installation is complete.

    1. In the first step, you will be required to provide detailed information about the servers of your database that created at Step 4.


    2. Once these details are provided, a configuration file will be created. In most cases, you will have to upload it to your server manually.

    3. Download files created by the installer and save it to your computer. It should be called config.php.

    4. Use FTP to upload it to the library folder you uploaded in step 2.

    5. Once the file is uploaded, you can proceed with the installation.


    After installation is complete, you can log into your control panel and start XenForo configure it.


    Step 6: Check After Installation
    1. Logged into the control panel XenForo administrator.
    2. Click on the Tool tab.
    3. Click on File Health Check from the list on the left hand side.
    That is it! You have a fully functional Xenforo website. You can now start building your website content!

    Article using references from website www.xenforo.com
    Last edited: Aug 27, 2014