PHP Multi INI Editor Configuration for new domains Wordpress

Configuring PHP INI editor for wordpress

We advise the folowing settings for Wordpress. y default cpanel's PHP.ini is set to a memeory limit of 164, which is too little for wordpress.
This causes Wordpress to say " the site has experienced a critical error"  the soution is to login into Cpanel and edit the php.ini. 

To edit it is simply search ini editor in Cpanel to access it, select your domain and change the entries to look like the below.

PHP Multi INI Editor

Select home directory drop down

  • display_errors = Off

  • max_execution_time = 30

  • max_input_time = 60

  • max_input_vars = 1000

  • memory_limit = 300M

  • post_max_size = 80M

  • session.gc_maxlifetime = 1440

  • session.save_path = "/var/cpanel/php/sessions/ea-php72"

  • upload_max_filesize = 200M

  • zlib.output_compression = Off


The bold details are the general change.