Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
deb9:apache [2022/09/25 23:35] Bernard Condraudeb9:apache [2022/09/25 23:41] – [Xdebug] Bernard Condrau
Line 75: Line 75:
   - Run:<code>./configure   - Run:<code>./configure
 make</code> make</code>
-  - Copy the module to:<code>sudo cp modules/xdebug.so /usr/lib/php/{20190902, 20200930, 20210902}</code> +  - Copy the module to:<code>sudo cp modules/xdebug.so /usr/lib/php/20190902</code> 
-  - Modify the configuration in /etc/php/7.4/cli/php.ini for Xdebug 2:<code>zend_extension = /usr/lib/php/20190902/xdebug.so+  - Modify the configuration in /etc/php/7.4/cli/php.ini for Xdebug 2:<file>zend_extension = /usr/lib/php/20190902/xdebug.so
 xdebug.remote_enable=1 xdebug.remote_enable=1
 xdebug.remote_port=9000 (default: 9000) xdebug.remote_port=9000 (default: 9000)
Line 82: Line 82:
 xdebug.profiler_enable_trigger=1 xdebug.profiler_enable_trigger=1
 xdebug.profiler_output_dir=PATH_TO_PROFILER_OUTPUT_DIR xdebug.profiler_output_dir=PATH_TO_PROFILER_OUTPUT_DIR
-xdebug.remote_log=PATH_TO_LOG/xdebug.log</code>+xdebug.remote_log=PATH_TO_LOG/xdebug.log</file>
     - Change the PATH_TO_PROFILER_OUTPUT_DIR to point to the directory you want to receive profiler output. change PATH_TO_LOG to point to the directory where you want to receive xdebug.log.     - Change the PATH_TO_PROFILER_OUTPUT_DIR to point to the directory you want to receive profiler output. change PATH_TO_LOG to point to the directory where you want to receive xdebug.log.
     - Make sure that zend_extension = /usr/lib/php/20190902/xdebug.so is below the line for OPcache. Please also update php.ini files in adjacent directories (//apache2// and //cli//), as your system might be configured with a separate php.ini file for the web server and command line.     - Make sure that zend_extension = /usr/lib/php/20190902/xdebug.so is below the line for OPcache. Please also update php.ini files in adjacent directories (//apache2// and //cli//), as your system might be configured with a separate php.ini file for the web server and command line.