我在宅基地5.4安装上找不到xdebug可执行文件。我该如何解决这个问题?
我试过了:
pecl install xdebug (Build process completed successfully)
apt-get install php-xdebug (You are using newest version)
apt-get install php-dev (no effect)
该可执行文件对于PhpStorm中的调试过程至关重要,没有该文件我甚至无法运行进程:
加载失败/ usr / bin / xdebug:/ usr / bin / xdebug:无法打开共享对象文件:没有这样的文件或目录
答案 0 :(得分:0)
尝试通过以下方式安装cli-module:
apt-get install php7-cli
或
apt-get install php5-cli
答案 1 :(得分:0)
Follow the below steps:
1. Type "php -i" in Vagrant box terminal and copy the entire output.
2. Go to "https://xdebug.org/wizard.php", and paste the above copied output in the white box and click on "Analyse my phpinfo() output" button.
The wizard will show you the exact step by step process to install compatible xdebug in your machine for the specified php version.