Skip to content

Instantly share code, notes, and snippets.

@ivanvermeyen
Created July 25, 2015 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivanvermeyen/7d6de954d240bdeb2826 to your computer and use it in GitHub Desktop.
Save ivanvermeyen/7d6de954d240bdeb2826 to your computer and use it in GitHub Desktop.
Enable file uploads
<IfModule mod_suphp.c>
suphp_configpath /path/to/custom/php.ini
</IfModule>
[PHP]
upload_max_filesize = 5M
post_max_size = 4M
register_globals = off
disable_functions =
allow_url_fopen = on
file_uploads = on
extension=pdo.so
extension=pdo_mysql.so
[Date]
date.timezone = Europe/Berlin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment