Content
0.序
1.更新安装库
2.安装基础库
0.序
本文主要是记录php在 Centos下的安装配置 。文中如无特别说明.表示php-5.6.31代码目录。
1.更新安装库
$ yum update
2.安装基础库
$ yum install ntp vim-enhanced gcc gcc-c++ gcc-g77 flex bison autoconf automake glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel libevent2 libtool* zlib-devel libxml2-devel libjpeg-devel libpng-devel libtiff-devel fontconfig-devel freetype-devel libXpm-devel gettext-devel curl curl-devel pam-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers gzip make bzip2bzip2-devel pcre-devel wget ncurses-devel cmake make perl
时间: 2024-10-10 17:04:19