php7安装

发布时间:2019-08-07 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了php7安装脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。

1. 先安装依赖库:http://www.osyunwei.com/archives/2708.html

yum install make aPR* autoconf automake curl curl-devel gcc gcc-@L_126_1@ zlib-devel oPEnssl openssl-devel pcre-devel gd kernel keyutils patch perl kernel-headers compat* mpfr cpp glibc libgomp libstdc++-devel ppl cloog-ppl keyutils-libs-devel libcom_err-devel libsepol-devel libselinux-devel krb5-devel zlib-devel libxpm* freetype libjpeg* libpng* php-common php-gd ncurses* liBTool* libXMl2 libxML2-devel patch

2. 其中libmcrypt freetype 需要单独码安装

libmcrypt: http://mcrypt.hellug.gr/lib/

freetype: http://sourceforge.net/projects/freetype/files/freetype2/2.5.3/


3. bison安装

cd /VAR/soft/
wget http://ftp.gnu.org/gnu/bison/bison-2.6.4.tar.gz
tar -xvzf bison-2.6.4.tar.gz
cd bison-2.6.4
./configure
make && make install


4.处理完其他错误后,开始正式安装,详情见:http://www.tuicool.com/articles/BR7Bza

php7下载地址:https://downloads.php.net/~ab/


5. php5安装教程:http://www.osyunwei.com/archives/2708.html

脚本宝典总结

以上是脚本宝典为你收集整理的php7安装全部内容,希望文章能够帮你解决php7安装所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。