Advertisement
jamescampbell

php hints to fix max upload errors

Jun 1st, 2012
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.54 KB | None | 0 0
  1. In apache-virtual-host:
  2. -----------------------------------------------------------
  3. <Directory /var/www/MyProgram>
  4.     AllowOverride Options
  5. </Directory>
  6. -----------------------------------------------------------
  7.  
  8. In .htaccess:
  9. -----------------------------------------------------------
  10. php_value session.gc_maxlifetime 10800
  11. php_value max_input_time         10800
  12. php_value max_execution_time     10800
  13. php_value upload_max_filesize    110M
  14. php_value post_max_size          120M
  15. -----------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement