Okay
  Print

Setting-up Server Configurations

Memory limit:

To fix the issue, you need to edit the wp-config.php  file on your WordPress site. It is located in your WordPress site’s root folder, and you will need to use an FTP client or file manager in your web hosting control panel.

Next, you need to paste this code in wp-config.php file just before the line that says ‘That’s all, stop editing! Happy blogging.’:

define( 'WP_MEMORY_LIMIT', '256M' );

Once you are done, you need to save your changes and upload your wp-config.php file back to your server.

Upload max file size:

You can update this issue in several ways:

  1. You can edit the file wp-config.php in the root directory of your WordPress installation and add this line of code:
    @ini_set( 'upload_max_size' , '64M' );
  1. Or, you can create or Edit an existing PHP.INI file, for this method you will need to access your WordPress site’s root folder by using FTP or File Manager app in your hosting account’s cPanel dashboard.
    In most cases if you are on a shared host, then you will not see a php.ini file in your directory. If you do not see one, then create a file called php.ini and upload it in the root folder. In that file add the following code:
    upload_max_filesize = 64M
  2. You may also change the value by editing the .htaccess file in the root directory of your website and add the following line
    php_value upload_max_filesize 64M

Note: If this solution does not work for you, then this means your web hosting service provider does not allow WordPress to increase PHP Upload max filesize limit. You will need to ask your web hosting provider to increase your PHP Upload max filesize limit manually.

Post max size:

You can fix this issue in several ways:

  1. You can edit the file wp-config.php in the root directory of your WordPress installation and add this line of code:
    @ini_set( 'post_max_size' , '64M' );
  2. Or, you can create or Edit an existing PHP.INI file, for this method you will need to access your WordPress site’s root folder by using FTP or File Manager app in your hosting account’s cPanel dashboard.
    In most cases if you are on a shared host, then you will not see a php.ini file in your directory. If you do not see one, then create a file called php.ini and upload it in the root folder. In that file add the following code:
    post_max_size = 64M
  3. You may also change the value by editing the .htaccess file in the root directory of your website and add the following line
    php_value post_max_size 64M

Max input vars:

You can fix this issue in several ways:

  1. You can edit the file wp-config.php in the root directory of your WordPress installation and add this line of code:
    @ini_set( 'max_input_vars' , '3000' );
  2. Or, you can create or Edit an existing PHP.INI file, for this method you will need to access your WordPress site’s root folder by using FTP or File Manager app in your hosting account’s cPanel dashboard.
    In most cases if you are on a shared host, then you will not see a php.ini file in your directory. If you do not see one, then create a file called php.ini and upload it in the root folder. In that file add the following code:
    max_input_vars = 3000
  3. You may also change the value by editing the .htaccess file in the root directory of your website and add the following line
    php_value max_input_vars 300

Max execution time:

You can fix this issue in several ways:

  1. You can edit the file wp-config.php in the root directory of your WordPress installation and add this line of code:
    @ini_set( 'max_execution_time' , '300' );
  2. Or, you can create or Edit an existing PHP.INI file, for this method you will need to access your WordPress site’s root folder by using FTP or File Manager app in your hosting account’s cPanel dashboard.
    In most cases if you are on a shared host, then you will not see a php.ini file in your directory. If you do not see one, then create a file called php.ini and upload it in the root folder. In that file add the following code:
    max_execution_time = 300
  3. You may also change the value by editing the .htaccess file in the root directory of your website and add the following line
    php_value max_execution_time 300