Home  >  Article  >  Backend Development  >  php7 What to do without phpize

php7 What to do without phpize

藏色散人
藏色散人Original
2021-11-17 09:31:572271browse

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".

php7 What to do without phpize

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn