Skip to content

Instantly share code, notes, and snippets.

@migliori
Last active February 13, 2024 06:33
Show Gist options
  • Save migliori/cc15f48880512416ffb1a158266bc79e to your computer and use it in GitHub Desktop.
Save migliori/cc15f48880512416ffb1a158266bc79e to your computer and use it in GitHub Desktop.
php.ini localhost settings #server #php.ini
display_errors = On
html_errors = On
error_reporting = E_ALL
max_execution_time = 30
max_input_time = 60
memory_limit = 128M
;Xdebug
zend_extension="{$path}\php-5.6\lib\php_xdebug.dll"
xdebug.remote_enable=1
;;Type: boolean, Default value: 0
;xdebug.overload_var_dump=1
;;Type: boolean, Default value: 1, Introduced in Xdebug 2.1
;;By default Xdebug overloads var_dump() with its own improved version for displaying variables when the html_errors php.ini setting is set to 1.
xdebug.show_local_vars=0
;;Type: integer, Default value: 0
;;When this setting is set to something != 0 Xdebug's generated stack dumps in error situations will also show all variables in the top-most scope. Beware that this might generate a lot of information, and is therefore turned off by default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment