Heim  >  Artikel  >  Backend-Entwicklung  >  php7安装

php7安装

WBOY
WBOYOriginal
2016-06-20 12:54:411147Durchsuche

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

yum install make apr* autoconf automake curl curl-devel gcc gcc-c++ 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

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Vorheriger Artikel:PHP on Pails 来了Nächster Artikel:PHP的RPC框架:Dora RPC