Rocky 9.x Increase default PHP resources

From Notes_Wiki
Revision as of 05:43, 15 October 2022 by Saurabh (talk | contribs) (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,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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