You can easily check your sever information with a plugin such as WP-ServerInfo. After you installed it go to Dashboard > WP-ServerInfo and you’ll see the general overview of your server. To see PHP and MySQL information click on Display PHP Information or Display MySQL Information.
Required Settings:
WordPress Version – WordPress 4.5 or higher
PHP – Version 5.4 or higher
MySQL – Version 5.6 or higher
Mod_rewrite – needs to be activated
Recommended Settings:
Upload Size – 32M
Memory Limit – 96M
Max_execution_time – 300
If you are familiar with php.ini and .htaccess files you can set these values by yourself, but if not, please contact your hosting provider and ask them to set the values for you.
1. Method: .htaccess
Open the .htaccess file in a code editor (such as Sublime Text). You can find the file in the root directory of your website where you installed WordPress. Add the following code to the end of the file.
php_value upload_max_filesize 32M
php_value post_max_size 32M
php_value memory_limit 96M
php_value max_execution_time 300
Check your server settings to make sure that the changes are applied.
2. Method: php.ini
Create a file called php.ini in the root directory of your website where you installed WordPress and add the following code:
upload_max_filesize = 32M
post_max_size = 32M
memory_limit = 96M
max_execution_time = 300
Check your server settings to make sure that the changes are applied.