wp-config.php\u00a0<\/em> file on your WordPress site. It is located in your WordPress site\u2019s root folder, and you will need to use an FTP client or file manager in your web hosting control panel.<\/p>\nNext, you need to paste this code in wp-config.php file just before the line that says \u2018That\u2019s all, stop editing! Happy blogging.\u2019:<\/p>\n
define( 'WP_MEMORY_LIMIT', '256M' );<\/pre>\nOnce you are done, you need to save your changes and upload your wp-config.php file back to your server.<\/p>\n
After that, you can open WordPress theme dashboard again and check that the error notice disappeared from the server status.<\/p>\n
Note:<\/strong> If this solution does not work for you, then this means your web hosting service provider does not allow WordPress to increase PHP memory limit. You will need to ask your web hosting provider to increase your PHP memory limit manually.[\/vc_column_text][vc_separator][\/vc_column][\/vc_row][vc_row pix_particles_check=””][vc_column]Fix upload max file size issue<\/h5><\/div>[vc_column_text]If you are getting \u201cThe link you followed has expired\u201d<\/strong> error when uploading the theme or an error icon next to “Upload max filesize (64MB)”<\/strong> in the server status on your WordPress dashboard, this means that the maximum allowed file size to be uploaded to WordPress is less than the recommended size 64MB, the website can function with low upload max file size, however, it’s recommended to increase the maximum value to prevent facing any issue when uploading larger file sizes.<\/p>\nYou can fix this issue in several ways:<\/p>\n
\n- You can edit the file wp-config.php in the root directory of your WordPress installation and add this line of code:\n
@ini_set( 'upload_max_size' , '64M' );<\/pre>\n<\/li>\n
- Or, you can create or Edit an existing PHP.INI file, for this method you will need to access your WordPress site\u2019s root folder by using FTP or File Manager app in your hosting account\u2019s cPanel dashboard.
\nIn 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:<\/p>\nupload_max_filesize = 64M<\/pre>\n<\/li>\n
- You may also change the value by editing the .htaccess file in the root directory of your website and add the following line\n
php_value upload_max_filesize 64M<\/pre>\n<\/li>\n<\/ol>\nNote:<\/strong> 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.[\/vc_column_text][vc_separator]Fix post max size issue<\/h5><\/div>[vc_column_text]If you are getting an error icon next to “Post max size (64MB)”<\/strong> in the server status on your WordPress dashboard, this means that the maximum allowed size for each post action on WordPress is less than the recommended size 64MB, the website can function with low post max size, however, it’s recommended to increase the maximum value to prevent facing any issue when performing large functions (for example: importing demo content).<\/p>\nYou can fix this issue in several ways:<\/p>\n
\n- You can edit the file wp-config.php in the root directory of your WordPress installation and add this line of code:\n
@ini_set( 'post_max_size' , '64M' );<\/pre>\n<\/li>\n
- Or, you can create or Edit an existing PHP.INI file, for this method you will need to access your WordPress site\u2019s root folder by using FTP or File Manager app in your hosting account\u2019s cPanel dashboard.
\nIn 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:<\/p>\npost_max_size = 64M<\/pre>\n<\/li>\n
- You may also change the value by editing the .htaccess file in the root directory of your website and add the following line\n
php_value post_max_size 64M<\/pre>\n<\/li>\n<\/ol>\n[\/vc_column_text][vc_separator]