How to set the PHP maximum execution time and script memory limit in an .htaccess file


/ Published in: Apache
Save to your folder(s)

How to set the PHP maximum execution time and script memory limit in an .htaccess file


Copy this code and paste it in your HTML
  1. php_value max_execution_time 3000
  2. php_value memory_limit 512M
  3. php_value max_input_time 200
  4. php_value post_max_size 128M

URL: https://www.a2hosting.com/kb/developer-corner/php/using-php-directives-in-custom-htaccess-files/setting-the-php-maximum-execution-time-in-an-htaccess-file

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.