php7 没有phpize怎么办
时间:2022-02-23 17:40
php7没有phpize的解决办法:1、修改resolv.conf并添加“nameserver8.8.8.8”;2、替换sources.list内容并更新安装“php7.0-dev”即可。 本文操作环境:ubuntu 16.04系统、PHP7.0版、DELL G3电脑 php7 没有phpize怎么办? ubuntu服务器下php7没有phpize文件解决方案 第一种: 添加nameserver 8.8.8.8 第二种: 然后 再执行 推荐学习:《PHP视频教程》 以上就是php7 没有phpize怎么办的详细内容,更多请关注gxlsystem其它相关文章!sudo vim /etc/resolv.conf
/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
sudo apt-get update
一下apt-get install php7.0-dev