我试图用PHP7.0-fmp在Ubuntu16.04中安装xdebug。
在量身定制的工具中显示:
Run: phpize (See the FAQ if you don't have phpize.
As part of its output it should show:
Configuring for:
...
Zend Module Api No: 20151012
Zend Extension Api No: 320151012
If it does not, you are using the wrong phpize.
Please follow this FAQ entry and skip the next step.
FAQ仅引用php5-dev来安装phpize。
然后在这篇文章之后,我发现php7.0-dev也应该安装phpize。
当我尝试运行apt-get install php7.0-dev时,出现以下消息:
php7.0-dev is already the newest version (7.0.8-0ubuntu0.16.04.2).
The following package was automatically installed and is no longer required:
linux-image-extra-4.4.0-21-generic
表示所有php7.0-dev软件包都已安装。
但是当我运行phpize时,出现以下消息:
root@ig:/usr/bin# phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module
我已经在'/ usr / bin /'里面了。在这种情况下如何运行phpize?