Skip to content

Instantly share code, notes, and snippets.

@fmtarif
Created September 24, 2014 18:11
Show Gist options
  • Save fmtarif/c8ccf334d8c63c05141d to your computer and use it in GitHub Desktop.
Save fmtarif/c8ccf334d8c63c05141d to your computer and use it in GitHub Desktop.
#php common php.ini conf
upload_max_filesize = 2M
post_max_size = 8M ; Maximum size of POST data that PHP will accept.
memory_limit = 128M ; Maximum amount of memory a script may consume
max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data.
display_errors = Off
html_errors = On
log_errors = Off
error_reporting = E_ALL & ~E_NOTICE
; Common Values:
; E_ALL & ~E_NOTICE (Show all errors, except for notices and coding standards warnings.)
; E_ALL & ~E_NOTICE | E_STRICT (Show all errors, except for notices)
; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
; E_ALL | E_STRICT (Show all errors, warnings and notices including coding standards.)
; Default Value: E_ALL & ~E_NOTICE
; Development Value: E_ALL | E_STRICT
; Production Value: E_ALL & ~E_DEPRECATED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment