This tutorial covers the following topics:
Drupal is fully compatible with SiteGround servers. Here are the server requirements as listed on Drupal's official web site.
Drupal 8 works on any web server with PHP version of 5.5.9 or greater.
We use the Apache web server which is the most commonly used web server for Drupal websites. We have also implemented the necessary changes and modules so Drupal websites can work flawlessly on our servers. We have enabled the Apache mod_rewrite extension and modified the Virtual host configuration accordingly.
Drupal 8 requires minimum of PHP 5.5.9 to run and operate, but PHP7+ is recommended to take advantage of speed and caching improvement. SiteGround servers provide multiple PHP versions setup.
PHP memory requirements can vary significantly depending on the modules in use on your site. Minimum required memory size is 64MB. On SiteGround's servers the memory limit is set to 768 MB.
The PHP extension for connecting to your chosen database must be installed and enabled. Drupal's currently supported database connectors are: mysql (the original MySQL extension), mysqli (an improved connector for newer MySQL installations), and pgsql (for PostgreSQL). All of them are enabled on the SiteGround servers.
PHP XML extension (for blogapi, drupal, and ping modules). This extension is enabled by default on all SiteGround servers.
An image library for PHP such as the GD library is needed for the images manipulation (resizing user pictures, image and imagecache modules). ImageMagick is also supported. Both are installed by default on the SiteGround servers.
The required database server is MySQL 5.5.3/MariaDB 5.5.20/Percona Server 5.5.8 or higher with InnoDB as the primary storage engine. SiteGround's MySQL server is currently running on version 5.6. PostgreSQL and SQLite are also installed and supported on the SiteGround servers.