Drupal: change limits upload memory


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



Copy this code and paste it in your HTML
  1. In php.ini, at the end:
  2. upload_max_filesize = 8M
  3. post_max_size = 16M
  4. memory_limit = 24M
  5. max_execution_time = 0
  6.  
  7. Or, in .htaccess, any place.
  8. php_value upload_max_filesize 8M
  9. php_value post_max_size 16M
  10. php_value memory_limit 24M
  11. php_value max_execution_time 120

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.