Having the right hosting is a crucial part of any successful Divi website but having a great host for your site is only a part of the solution.
Setting up your hosting so that your website can run at its best can mean the difference between a slow and buggy experience and a fast and productive one.
By using the Divi Support Centers System Status console you can make sure your hosting is running at its optimal for Divi.
Elegant Themes now offers Divi Hosting that has been optimized for the Divi Theme and includes API integration via Siteground, Pressable, and Flywheel.
What is the Divi Support Center?
The Divi Support Center is your go-to place to check the health of your Divi website and amongst other things, it has a System Status that lists your current and recommended hosting settings along with a clear green or red icon to show if your website meets the minimum requirements or not.
The Support Center also includes a few other tools to help with your Divi website running smoothly, which include;
- The Elegant Themes Support area is where you can enable remote access for support staff to access your website and diagnose and fix any issues.
- The Divi Documentation & Help section gives some quick links to the official Divi documentation and video guides.
- The Safe Mode allows you to temporarily disable all Plugins, Child Themes, and Custom Code added to your integration areas to help identify if they are causing conflicts with Divi.
- The Logs section records data from WP_DEBUG_LOG (if activated) into an easily accessible log file.
What are the recommended hosting settings for Divi?
These are the following PHP settings and comments for your hosting as recommended by the Divi Support Center in Divi version 3.26.xx
- Writable wp-content Directory = True
We recommend that the wp-content directory on your server be writable by WordPress in order to ensure the full functionality of Divi Builder themes and plugins.
- PHP Version = 7.2 or higher
We recommend using the latest stable version of PHP. This will not only ensure compatibility with Divi, but it will also greatly speed up your website leading to less memory and CPU related issues.
- memory_limit = 128M
By default, memory limits set by your host or by WordPress may be too low. This will lead to applications crashing as PHP reaches the artificial limit. You can adjust your memory limit within your php.ini file, or by contacting your host for assistance. You may also need to define a memory limited in wp-config.php.
- post_max_size = 64M
Post Max Size limits how large a page or file can be on your website. If your page is larger than the limit set in PHP, it will fail to load. Post sizes can become quite large when using the Divi Builder, so it is important to increase this limit. It also affects file size upload/download, which can prevent large layouts from being imported into the builder. You can adjust your max post size within your php.ini file, or by contacting your host for assistance.
- max_execution_time = 180
Max Execution Time affects how long a page is allowed to load before it times out. If the limit is too low, you may not be able to import large layouts and files into the builder. You can adjust your max execution time within your php.ini file, or by contacting your host for assistance.
- upload_max_filesize = 64M
Upload Max File Size determines that maximum file size that you are allowed to upload to your server. If the limit is too low, you may not be able to import large collections of layouts into the Divi Library. You can adjust your max file size within your php.ini file, or by contacting your host for assistance.
- max_input_time = 180
This sets the maximum time in seconds a script is allowed to parse input data. If the limit is too low, the Divi Builder may time out before it is allowed to load. You can adjust your max input time within your php.ini file, or by contacting your host for assistance
- max_input_vars = 1000
This setting affects how many input variables may be accepted. If the limit is too low, it may prevent the Divi Builder from loading. You can adjust your max input variables within your php.ini file, or by contacting your host for assistance.
- display_errors = 0
This setting determines whether or not errors should be printed as part of the page output. This is a feature to support your site’s development and should never be used on production sites. You can edit this setting within your php.ini file, or by contacting your host for assistance.
How to change your own hosting settings
If you are seeing red in your Divi System Status then it is recommended that you change your settings to the minimum requirements listed.
To update your PHP version and variables you can either contact your hosts’ tech support and ask them to change the settings for them (give them the required settings from your System Status report) or you can edit them yourself by accessing your hosting cPanel. With access to your cPanel, you will need to find your PHP Version Manager and the PHP Variables Manager which will allow you to set the PHP version and variables to the required settings as listed above and in your System Status report.