I have installed PHP7.0 on Ubuntu, but when I run php-config, it requires me to install it, which I want to install a php-config7 instead of a php-config5.
I was also stuck there but this command helped me.
I am using ubuntu 14.04
sudo add-apt-repository ppa:ondrej/php
it will install required repo for the php7
now install php-dev libs
sudo apt-get install php7.0-dev
now it will replace your old php-config to new one
now php-config will point to php-config7.0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With