I have installed and configured Xdebug on my Linux system, however, I can’t see “Xdebug” in my PHPinfo file despite enabling and when i put the phpinfo source code page in the xdebug wizard , shows me that: Xdebug installed: no
Have you any ideas on how to solve this issue?
php -v PHP 7.4.3 (cli) (built: Oct 6 2020 15:47:56) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies with Xdebug v2.9.2, Copyright (c) 2002-2020, by Derick Rethans
Also, I added the following lines to the end of the php.ini file:
zend_extension = /opt/lampp/lib/php/extensions/no-debug-non-zts-20200930/xdebug.so xdebug.mode = debug xdebug.start_with_request = yes xdebug.client_port = 9000
For the more information about the correct file to edit, i exactly edited this file that the directory is said in the following pic:
Advertisement
Answer
I was trying to install xdebug v3 with PHP v7.4 and it doesn’t install correctly for my system.
As i see this vide, i update my PHP version to 8 and try it again and my problem was solved now 🙂