Categories

Installing

You are here:
< All Topics

Now you’re nearly ready to start the XenForo installation.

Direct your browser to the install directory under your XenForo root URL. For example, if your XenForo root URL was www.example.com/community/, you would direct your browser to www.example.com/community/install/. If you have the correct URL, you should see the XenForo installer.

Depending on server configuration, you may receive an error about certain directories not being writable. If so, follow the “setting directory permissions” steps. If you receive any other error messages, your server does not meet XenForo’s requirements and your host will need to make changes to their PHP configuration.

Setting directory permissions

Depending on your PHP configuration, you may need to manually make certain directories writable. If this is needed, a message will be displayed when starting the installation.

If you receive this message, open your FTP client and navigate to your XenForo root directory (the directory your created earlier). You should see the data and internal_data directories. You will need to change permissions on these two directories.

In Linux, these should be “chmod 0777”. You can generally do this via your FTP client by making sure that the directory has read, write, and execute permissions for user, group and world. In Windows/IIS, you need to grant the “Full Control” permission to the IUSR_ account.

Once complete, refresh the installer. If changed correctly, the error message regarding directories not being writable should disappear.

If no other errors are displayed, you can begin the XenForo installation process. In the early steps, you will be asked to provide details about your database server. If you do not know what values to use here, you will need to contact your host to get the correct values.

Once the database configuration is verified, if possible, it will be written out to your server automatically. If this is not possible, you will need to download the generated configuration file and upload it manually.

Uploading the generated config file

If the configuration file could not be written automatically, you will see a button to download the file to your computer. Click this.

Open your FTP client and navigate to your XenForo root directory. Within this directory, you should see a sub-directory called src. Open that directory and upload the config.php file you just downloaded here. You can now continue with the installation.

To complete installation, follow the on-screen instructions until it completes. XenForo is now installed and you can begin configuring it.

Table of Contents