Get the App
SLTechnology News&Howtos  ›  Development  › 

How to solve the problem without phpize in php7

Shulou Source: shulou.com Published: 2022-06-02 14:39:23 10月01日 Update

This article mainly explains "how to solve php7 without phpize". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to solve php7 without phpize.

There is no phpize solution for php7: 1, modify resolv.conf and add "nameserver8.8.8.8"; 2, replace sources.list content and update and install "php7.0-dev".

Operating environment: ubuntu 16.04system, PHP7.0 version, DELL G3 computer

What if php7 doesn't have phpize?

There is no phpize file solution for php7 under ubuntu server.

The first kind:

Sudo vim / etc/resolv.conf

Add nameserver 8.8.8.8

The second kind:

Replace the content of / etc/apt/sources.list with deb http://old-releases.ubuntu.com/ubuntu/ raring main universe restricted multiversedeb-src http://old-releases.ubuntu.com/ubuntu/ raring main universe restricted multiversedeb http://old-releases.ubuntu.com/ubuntu/ raring-security main universe restricted multiversedeb-src http://old-releases.ubuntu.com/ubuntu/ raring-security main universe restricted multiversedeb http://old-releases.ubuntu.com/ubuntu/ raring-updates main universe restricted multiversedeb- Src http://old-releases.ubuntu.com/ubuntu/ raring-updates main universe restricted multiversedeb http://old-releases.ubuntu.com/ubuntu/ raring-backports main restricted universe multiversedeb-src http://old-releases.ubuntu.com/ubuntu/ raring-backports main restricted universe multiversedeb http://old-releases.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiversedeb-src http://old-releases.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse

Then sudo apt-get update a bit.

Execute apt-get install php7.0-dev again

At this point, I believe you have a deeper understanding of "how to solve php7 without phpize". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Content learning practical deeper interest method practicality practice how to do simple operation file scheme method more friends server environment computer system website Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux NVidia Shulou Technology Shulou Information Huawei