Last active
August 22, 2021 17:15
-
-
Save fabriceleal/6163707 to your computer and use it in GitHub Desktop.
Xdebug stuff (debugging) on php.ini
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; if you're using zend server, you may need to | |
;; 1 - remove/disable etc/conf.d/debugger.ini | |
;; 2 - comment zend.ini_scandir=... altogether | |
;; | |
;; I've had success with both :| | |
;; on zend server, install xdebug via pecl | |
;; or if you feel brave, checkout the source | |
;; and build it yourself (check the README, | |
;; watch out for the necessary configurations before make) | |
;; | |
;; version 2.2.3 seems to be the latest stable | |
;; _ts suffix may be necessary (or not). | |
;; check your php version and the thread-safetyness of php and/or the web server | |
;; | |
;; if you're foo'ing up, xdebug won't load - check the result of phpinfo(), Ctrl-F 'xdebug' | |
zend_extension=/some/dir/lib/php_extensions/xdebug.so | |
[xdebug] | |
xdebug.remote_connect_back=1 | |
xdebug.remote_port=9000 | |
xdebug.extended_info=1 | |
xdebug.idekey=something | |
xdebug.remote_enable=1 | |
xdebug.remote_autostart=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment