Skip to content

Commit

Permalink
Merge pull request LinkedDestiny#4 from reallovelei/master
Browse files Browse the repository at this point in the history
增加一个 yum 安装项
  • Loading branch information
reallovelei committed Dec 29, 2014
2 parents 2a8e6b6 + 2ccb7e0 commit 139032d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 01-环境搭建及扩展安装.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ sudo apt-get install build-essential gcc g++ autoconf libiconv-hook-dev libmcryp
```
CentOS环境下:
```bash
yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers gd gd2 gd-devel gd2-devel perl-CPAN
yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers gd gd2 gd-devel gd2-devel perl-CPAN pcre-devel
```
(注:以上命令是我在实际使用中验证过的可以使用的,可能会和其他教程提供的命令不同)
当上述命令执行后,即可开始安装PHP。命令如下:
Expand Down

0 comments on commit 139032d

Please sign in to comment.