Skip to content

Instantly share code, notes, and snippets.

@chkilel
Forked from tomasfejfar/php.ini
Created April 30, 2020 15:13
Show Gist options
  • Select an option

  • Save chkilel/0711ccacc4f8b9a7b42546bd6a3a49ab to your computer and use it in GitHub Desktop.

Select an option

Save chkilel/0711ccacc4f8b9a7b42546bd6a3a49ab to your computer and use it in GitHub Desktop.

Revisions

  1. @tomasfejfar tomasfejfar created this gist Jun 1, 2016.
    23 changes: 23 additions & 0 deletions php.ini
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    ; path to your php_xdebug extension file
    ; download from https://xdebug.org/wizard.php
    zend_extension="c:\xampp-php7\php\ext\php_xdebug-2.4.0-7.0-vc14.dll"
    ; disables profiler globally
    xdebug.profiler_enable = 0
    ; allows enabling it selectively with request parameter "XDEBUG_PROFILE"
    xdebug.profiler_enable_trigger = 1
    ; directory to output profiler files to
    xdebug.profiler_output_dir = "C:\xampp-php7\tmp"
    ; profiler file name (with request uri and timestamp)
    xdebug.profiler_output_name = "%R-%t.cgout"
    ; enables debugger
    xdebug.remote_enable = 1
    ; selects the dbgp protocol
    xdebug.remote_handler = "dbgp"
    ; host where debug client is running
    xdebug.remote_host = "localhost"
    ; debugger port
    xdebug.remote_port = 9000
    ; disables xdebug traces in error messages - use https://tracy.nette.org/ instead
    xdebug.default_enable = "Off"
    ; makes sure that the process does not freeze when there is no debug client
    xdebug.remote_autostart = 0