I tried to install xdebug in my Ubuntu 16.04 with PHP7.0-fmp.
Inside the tailored tool it says:
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.
The FAQ only makes reference to php5-dev in order to install phpize.
Then following How to install and run phpize I found that php7.0-dev also should install phpize.
When I try run sudo apt-get install php7.0-dev
I get the message:
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
That says that all the php7.0-dev package are already installed, but when I run phpize
I get the following message:
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
I am already inside /usr/bin/
. How to run phpize in this scenario?