Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the solution for php7 without phpize?

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report