SERVER REQUIREMENTS (WORDPRESS & ContiD requirements)
Remember the right configuration of your server is fundamental for the correct performance of your theme.
Make sure the configuration of the PHP of your server match the following WordPress configuration
- max_input_vars: 2000
- memory_limit: 256 Mb (most is better)
- post_max_size: 64 Mb
- upload_max_filesize: 64 Mb
- allow_url_fopen: ON
- max_execution_time: 900
- max_input_time: 600
Please consider that some hosting servers, especially the cheapest ones, keep a limit in PHP and other. If you find some performance problems with WordPress you may consider migrating to other hosting with a better capacity (Better hosting).
If you still don’t know what hosting to hire, we can recommend some which have demonstrated good results and experience.
(ask us about the servers we recommend)
How to verify your current server settings
- Create a phpinfo.php page
- Install phpinfo plugin: https://wordpress.org/plugins/wordpress-php-info/
- Create a phpinfo.php page. You can use a
phpinfo()page to view the current PHP information for your server.This file outputs a large amount of information, such as:
- Information about PHP compilation options and extensions
- PHP version
- Server information and environment (if compiled as a module)
- PHP environment
- OS version information, paths, master and local values of configuration options
- HTTP headers
- PHP license
Because every system is set up differently,
phpinfo()is commonly used to check PHP configuration settings and for available predefined variables on your particular system.
phpinfo()is also a valuable debugging tool, as it contains all EGPCS (Environment, GET, POST, Cookie, andServer) data.
Steps to create a phpinfo.php page
To create a phpinfo file, open a plain text file, add the following lines, and save it:
<?php // Show all information, defaults to INFO_ALL phpinfo(); ?>
Your phpinfo.php file needs to be a plain text file. This means you need to create it with a text editor program capable of processing plain text files.
- Upload the file to the server. You should upload your file to the exact directory you want to test. Typically, this will be your httpdocs (
/var/www/vhosts/example.com/httpdocs/) directory, although you can upload it to any subdirectory on your server as well. Use FTP to upload the file.
- Visit the page in your browser. If you had uploaded it to your html directory already, you should now visit http://www.example.com/phpinfo.php, replace the example.com with your own domain name.
- Now you can view all of the information about PHP for your server for that particular directory.