How to install and configure php-config on php-config7 for PHP7.0 on Ubuntu

I installed PHP7.0 on Ubuntu, but when I run php-config, I need to install it and I want to install php-config7 instead of php-config5.

+5
source share
1 answer

I was also stuck there, but this team helped me.

I am using ubuntu 14.04

sudo add-apt-repository ppa:ondrej/php 

it will install the required repo for php7

now install php-dev libs

 sudo apt-get install php7.0-dev 

now it will replace your old php-config with a new one

now php-config will point to php-config7.0

+3
source

Source: https://habr.com/ru/post/1243774/


All Articles