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
Last revisionBoth sides next revision
deb9:apache [2022/09/25 23:35] Bernard Condraudeb9:apache [2022/09/25 23:45] – [Xdebug] Bernard Condrau
Line 70: Line 70:
 Configuring for: Configuring for:
 ... ...
-Zend Module Api No:      20190902 (7.4) +Zend Module Api No:      20170718 (7.2), 20190902 (7.4) 
-Zend Extension Api No:   320190902 (7.4)</code>+Zend Extension Api No:   3220170718 (7.2), 320190902 (7.4)</code>
   - If it does not, you are using the wrong phpize. Please follow [[https://xdebug.org/docs/faq#custom-phpize|this FAQ entry]] and skip the next step.   - If it does not, you are using the wrong phpize. Please follow [[https://xdebug.org/docs/faq#custom-phpize|this FAQ entry]] and skip the next step.
   - 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/{20170718, 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.2, 7.4}/cli/php.ini for Xdebug 2:<file>zend_extension = /usr/lib/php/{20170718, 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.