Difference between revisions of "Rocky 9.x Increase default PHP resources"

From Notes_Wiki
(Created page with "Home > Rocky Linux or CentOS > Rocky Linux 9.x > Web Servers > Increase default PHP resources Compared to default '<tt>/etc/php.ini</tt>' values use: <pre> max_execution_time = 600 max_input_time = 1200 memory_limit = 2560M post_max_size = 160M upload_max_filesize = 400M max_file_uploads = 400 max_input_vars = 10000 date.timezone = 'Asia/Kolkata' </pre> Further,...")
 
(No difference)

Latest revision as of 05:43, 15 October 2022

Home > Rocky Linux or CentOS > Rocky Linux 9.x > Web Servers > Increase default PHP resources

Compared to default '/etc/php.ini' values use:

  max_execution_time = 600
  max_input_time = 1200
  memory_limit = 2560M
  post_max_size = 160M
  upload_max_filesize = 400M
  max_file_uploads = 400
  max_input_vars = 10000
  date.timezone = 'Asia/Kolkata'

Further, change above values based on server memory, upload data expected, timezone etc.


Home > Rocky Linux or CentOS > Rocky Linux 9.x > Web Servers > Increase default PHP resources