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

php7 What to do without phpize

藏色散人
Release: 2023-02-18 08:58:01
Original
2344 people have browsed it

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:

1

sudo vim /etc/resolv.conf

Copy after login

Add nameserver 8.8.8.8

Second type:

1

2

3

4

5

6

7

8

9

10

11

/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

Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template