Rocky 9.x Increase default PHP resources

From Notes_Wiki

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