There are two ways you can install October, either using the Wizard installer or Command-line installation instructions. Before you proceed, you should check that your server meets the minimum system requirements.
# Minimum system requirements
October CMS has some server requirements for web hosting:
- PHP version 7.2 or higher
- PDO PHP Extension (and relevant driver for the database you want to connect to)
- cURL PHP Extension
- OpenSSL PHP Extension
- Mbstring PHP Extension
- ZipArchive PHP Extension
- GD PHP Extension
- SimpleXML PHP Extension
Some OS distributions may require you to manually install some of the required PHP extensions.
When using Ubuntu, the following command can be run to install all required extensions:
sudo apt-get update && sudo apt-get install php php-ctype php-curl php-xml php-fileinfo php-gd php-json php-mbstring php-mysql php-sqlite3 php-zip
When using the SQL Server database engine, you will need to install the group concatenation (opens new window) user-defined aggregate.
# Wizard installation
The wizard installation is the recommended way to install October for non-technical users. It is simpler than the command-line installation and doesn't require any special skills.
- Prepare a directory on your server that is empty. It can be a sub-directory, domain root or a sub-domain.
- Download the installer archive file (opens new window).
- Unpack the installer archive to the prepared directory.
- Grant writing permissions on the installation directory and all its subdirectories and files.
- Navigate to the install.php script in your web browser.
- Follow the installation instructions.
Note: The wizard installer will install October CMS v1.0 that uses the Laravel 5.5 Framework (opens new window).
# Troubleshooting installation
An error 500 is displayed when downloading the application files: You may need to increase or disable the timeout limit on your webserver. For example, Apache's FastCGI sometimes has the
-idle-timeoutoption set to 30 seconds.
A blank screen is displayed when opening the application: Check the permissions are set correctly on the
/storagefiles and folders, they should be writable for the web server.
An error code "liveConnection" is displayed: The installer will test a connection to the installation server using port 80. Check that your webserver can create outgoing connections on port 80 via PHP. Contact your hosting provider or this is often found in the server firewall settings.
The back-end area displays "Page not found" (404): If the application cannot find the database then a 404 page will be shown for the back-end. Try enabling debug mode to see the underlying error message.
Note: A detailed installation log can be found in the
# Command-line installation
If you feel more comfortable with a command-line or want to use composer, there is a CLI install process on the Console interface page.
# Post-installation steps
There are some things you may need to set up after the installation is complete.
# Delete installation files
If you have used the Wizard installer, for security reasons you should verify the installation files have been deleted. The October installer attempts to cleanup after itself, but you should always verify that they have been successfullly removed:
install_files/ <== Installation directory install.php <== Installation script
# Review configuration
Configuration files are stored in the config directory of the application. While each file contains descriptions for each setting, it is important to review the common configuration options available for your circumstances.
# Setting up the scheduler
For scheduled tasks to operate correctly, you should add the following Cron entry to your server. Editing the crontab is commonly performed with the command
* * * * * php /path/to/artisan schedule:run >> /dev/null 2>&1
Be sure to replace /path/to/artisan with the absolute path to the artisan file in the root directory of October. This Cron will call the command scheduler every minute. Then October evaluates any scheduled tasks and runs the tasks that are due.
Note: If you are adding this to
/etc/cron.dyou'll need to specify a user immediately after
* * * * *.
# Setting up queue workers
You may optionally set up an external queue for processing queued jobs, by default these will be handled asynchronously by the platform. This behavior can be changed by setting the
default parameter in the
If you decide to use the
database queue driver, it is a good idea to add a Crontab entry for the command
php artisan queue:work --once to process the first available job in the queue.