Example Analysis of ubuntu PHP XDebug
This article mainly introduces the example analysis of ubuntu PHP XDebug, which is very detailed and has certain reference value. Friends who are interested must finish it!
1 、 Https://github.com/xdebug/xdebug executes a) error according to step order. / rebuild.sh: 3:. / rebuild.sh: phpize: not found vim. / rebuild.sh replace phpize with full path / usr/local/php/v7.1.9/bin/phpize / usr/local/php/v7.1.9/bin/phpize & &. / configure- -enable-xdebug-dev & & make clean & & make-j 5 all & & make install b) error two configure: error: Cannot find php-config. Please use-- with-php-config=PATH add-- with-php-config=/usr/local/php/v7.1.9/bin/php-config / usr/local/php/v7.1.9/bin/phpize & &. / configure-- enable-xdebug-dev-- with-php-config=/usr/local/php/v7.1.9/bin/php-config & & make clean & & make-j 5 all & & make install is finished Error re-execution of sudo. / rebuild.sh installation completed 2. Modify php.ini [XDebug] xdebug.profiler_append = 0 xdebug.profiler_enable = 1 xdebug.profiler_enable_trigger = 0 xdebug.remote_enable = 1 xdebug.remote_mode = "req" xdebug.remote_handler = "dbgp" xdebug.remote_host = "127.0.0.1" xdebug.remote_port = 9001 xdebug.idekey= "php" Xdebug.remote_autostart = no zend_extension = / usr/local/php/v7.1.9/lib/php/extensions/no-debug-non-zts-20160303/xdebug.soxdebug official website: https://xdebug.org/windows dll download address: https://xdebug.org/download.php above are all the contents of the article "sample Analysis of ubuntu PHP XDebug" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!