Server Requirements for Phlox
To use Phlox, please make sure you are running at least WordPress 4.6, PHP 5.6, and MySQL 5.6 or higher. For better performance and efficiency, we recommend using PHP 7+
Recommended PHP Configuration Limits
Many issues that you may run into such as white screen, demo importer failure, empty page content with Elementor page builder and other similar issues are all related to restricted configurations on your web server. The solution is to increase the PHP limits. You can do this on your own, or contact your web host and ask them to increase those limits to a minimum as follows:
max_execution_time = 180 memory_limit = 256M post_max_size = 32M upload_max_filesize = 75M max-input-nesting-level = 64 max_input_vars = 3000
If Suhosin patch is also installed on your server, please change the following parameters to the specified values:
php_value suhosin.post.max_array_depth 100 php_value suhosin.post.max_array_index_length 128 php_value suhosin.post.max_name_length 128 php_value suhosin.post.max_totalname_length 512 php_value suhosin.post.max_value_length 2000000 php_value suhosin.post.max_vars 5000 php_value suhosin.request.max_array_depth 100 php_value suhosin.request.max_array_index_length 128 php_value suhosin.request.max_name_length 128 php_value suhosin.request.max_totalname_length 512 php_value suhosin.request.max_value_length 2000000 php_value suhosin.request.max_vars 5000
Since the default page builder in Phlox is Elementor, it's mandatory to make sure your web host supports the minimum requirements of Elementor too, in case you want to use Elementor. Otherwise, you may experience issues like "The Preview could not be loaded" or " can not find the_content" issues or blank screen of death while loading a page in your back-end. Here is where you can see the Elementor minimum requirements:
Common issues with Elementor
Designing with Elementor is very efficient and easy but everything comes with a cost. Elementor adds to your server resources usage and if your server is not powerful enough or can't handle all the requests, chances are that you may run into some troubles.
From what we have seen so far, the majority of these problems were related to a lack of memory on the user's server and raising the available memory and in some cases, the PHP timeout value has fixed them. But there are some confusing scenarios which may cause some questions. We will explain some of them here.
- Elementor is working with other themes but fails with Phlox
First, we strongly state here that Phlox theme does not have any conflicting issue with Elementor page builder. You can find Phlox in the list of the compatible themes with Elementor here.
Again, the real issue here is the memory. When you switch to another theme, let say WordPress Twenty Nineteen, Your server will have more memory available but you will miss the arsenal of the features which Phlox provides. So in this case, you just need to raise the memory. To do this, just add the following lines to the wp-config.php file in your WordPress installation directory:
define('WP_MEMORY_LIMIT', '256M'); define( 'WP_MAX_MEMORY_LIMIT', '256M' );
Another thing to consider here is that plugins add to the memory usage too. Meaning that if you have a lot of plugins, you probably need to go higher than the 256MB of memory.
There are a few things to check when you have a somehow similar issue with Elementor
- Is there any error in your browser console?
- If so, probably you need to investigate them first. Maybe there is a conflict by another 3rd-party plugin.
- Is the situation the same when all the unnecessary plugins are deactivated?
- If not, then you need to check the plugins one by one or again, consider raising the memory.
- Did you check for the Mixed Content issue?
- Try Really Simple SSL plugin and check again. Most of the times, it fixes the issue instantly.
Phlox and Woocommerce
Phlox is officially compatible with WooCommerce, so if you are going to set up a shop, it’s best to make sure your server also supports this plugin’s requirements.
To learn about the WooCommerce server requirements, read the official article.