Drupal htaccess php_values (increase limits)


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



Copy this code and paste it in your HTML
  1. # PHP 4, Apache 1.
  2. <IfModule mod_php4.c>
  3. php_value magic_quotes_gpc 0
  4. php_value register_globals 0
  5. php_value session.auto_start 0
  6. php_value mbstring.http_input pass
  7. php_value mbstring.http_output pass
  8. php_value mbstring.encoding_translation 0
  9. php_value memory_limit 96M
  10. php_value post_max_size 32M
  11. php_value upload_max_filesize 32M
  12. php_value max_input_time 180
  13. </IfModule>
  14.  
  15. # PHP 4, Apache 2.
  16. <IfModule sapi_apache2.c>
  17. php_value magic_quotes_gpc 0
  18. php_value register_globals 0
  19. php_value session.auto_start 0
  20. php_value mbstring.http_input pass
  21. php_value mbstring.http_output pass
  22. php_value mbstring.encoding_translation 0
  23. php_value memory_limit 96M
  24. php_value post_max_size 32M
  25. php_value upload_max_filesize 32M
  26. php_value max_input_time 180
  27. </IfModule>
  28.  
  29. # PHP 5, Apache 1 and 2.
  30. <IfModule mod_php5.c>
  31. php_value magic_quotes_gpc 0
  32. php_value register_globals 0
  33. php_value session.auto_start 0
  34. php_value mbstring.http_input pass
  35. php_value mbstring.http_output pass
  36. php_value mbstring.encoding_translation 0
  37. php_value memory_limit 96M
  38. php_value post_max_size 32M
  39. php_value upload_max_filesize 32M
  40. php_value max_input_time 180
  41. </IfModule>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.