本文操作环境:ubuntu 16.04系统、php7.0版、DELL G3电脑
php7 没有phpize怎么办?
ubuntu服务器下php7没有phpize文件解决方案
第一种:
http://www.cppcns.comsudo vim /etc/resolv.conf
添加nameserver 8.8.8.8
第二种:
/etc/apt/sources.list 的内容换成 deb https://oss.qiaqa.com/article/2022/09/03/980 raring main universe restricted multiverse deb-src https://oss.qiaqa.com/article/2022/09/03/980 raring main universe restricted multiverse deb https://oss.qiaqa.com/article/2022/09/03/980 raring-security main universe restricted multiverse deb-src https://oss.qiaqa.com/article/2022/09/03/980 raring-security main universe restricted multiverse deb https://oss.qiaqa.com/article/2022/09/03/980 raring-updates main universe restricted multiverse deb-src https://oss.qiaqa.com/article/2022/09/03/980 raring-updates main universe restricted multiverse deb https://oss.qiaqa.com/article/2022/09/03/980 raring-backports main restricted universe multiverse deb-src https://oss.qiaqa.com/article/2022/09/03/980 raring-backports main restricted universe multiverse deb https://oss.qiaqa.com/article/2022/09/03/980 raring-proposed main restricted universe multiverse deb-src https://oss.qiaqa.com/article/2022/09/03/980 raring-proposed main restricted universe multiverse
然后sudo apt-get update一下
再执行 apt-get install php7.0-dev
知识点扩展:
没有PHPIZE的恰卡编程网解决方法
# which phpize
/usr/bin/phpize# rpm -q –whatprovides /usr/bin/phpize
php-devel-4.3.10-3.2Give “yum install php-devel” a try!
在redhat的网站上找到了这个
默认centOS和FC6都没有装这个phpize
就像上面说的,yum install php-devel
到此这篇关于php7 没有phpize的解决方法的文章就介绍到这了,更多相关php7 没有phpize怎么办内容请搜索我们以前的文章或继续浏览下面的相关文章希望大家以后多多支持我们!
海报
0 条评论
68
相关文章
本站已关闭游客评论,请登录或者注册后再评论吧~