Home > Article > Backend Development > php7 What to do without phpize
Solution for php7 without phpize: 1. Modify resolv.conf and add "nameserver8.8.8.8"; 2. Replace the contents of sources.list and update and install "php7.0-dev".
The operating environment of this article: ubuntu 16.04 system, PHP7.0 version, DELL G3 computer
php7 What to do if there is no phpize?
Solution for php7 without phpize file under ubuntu server
First type:
sudo vim /etc/resolv.conf
Add nameserver 8.8.8.8
Second type:
/etc/apt/sources.list 的内容换成 deb http://old-releases.ubuntu.com/ubuntu/ raring main universe restricted multiverse deb-src http://old-releases.ubuntu.com/ubuntu/ raring main universe restricted multiverse deb http://old-releases.ubuntu.com/ubuntu/ raring-security main universe restricted multiverse deb-src http://old-releases.ubuntu.com/ubuntu/ raring-security main universe restricted multiverse deb http://old-releases.ubuntu.com/ubuntu/ raring-updates main universe restricted multiverse deb-src http://old-releases.ubuntu.com/ubuntu/ raring-updates main universe restricted multiverse deb http://old-releases.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse deb-src http://old-releases.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://old-releases.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse
Thensudo apt-get update
and then executeapt-get install php7.0-dev
Recommended learning: "PHP Video Tutorial"
The above is the detailed content of php7 What to do without phpize. For more information, please follow other related articles on the PHP Chinese website!