Get the App
SLTechnology News&Howtos  ›  Development  › 

What is the solution for php7 without phpize?

Shulou Source: shulou.com Published: 2022-06-02 08:01:06 10月03日 Update

The main content of this article is to explain "what is the solution of php7 without phpize". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "what is the solution of php7 without phpize"?

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

Knowledge point expansion:

There is no PHPIZE solution.

# which phpize

/ usr/bin/phpize

# rpm-Q-whatprovides / usr/bin/phpize

Php-devel-4.3.10-3.2

Give "yum install php-devel" a try!

Found this on redhat's website.

This phpize is not installed by default centOS and FC6.

Like it said above, yum install php-devel.

At this point, I believe you have a deeper understanding of "what is the solution of 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: Method content website learning practical deeper interest practicality practical how to do simple operation file scheme more friends server environment computer knowledge knowledge points Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information OPPO Reno Xiaomi vpn Redmi