p; #查看是否下载成功
libiconv软件安装--和字符集转换相关的软件
#mkdir -p /server/tools
cd /server/tools
#wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz
tar zxf libiconv-1.14.tar.gz
cd libiconv-1.14
./configure --prefix=/usr/local/libiconv
make
make install
cd ../
和数据加密相关的三个软件安装
#wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo
#更换源
yum -y install libmcrypt-devel mhash mcrypt
#查看是否安装成功
rpm -qa libmcrypt-devel mhash mcrypt
2) 下载解压PHP软件
cd /server/tools/ #进入目录
tar xf php-5.5.32.tar.gz #解压压缩包
cd php-5.5.32 #进入目录
#下面是配置文件
./configure \
--prefix=/application/php-5.5.32 \
--with-mysql=/application/mysql/ \
--with-pdo-mysql=mysqlnd \
--with-iconv-dir=/usr/local/libiconv \
--with-freetype-dir \
--with-jpeg-dir \
--with-png-dir \
--with-zlib \
--with-libxml-dir=/usr \
--enable-xml \
--disable-rpath \
--enable-bcmath \
--enable-shmop \
--enable-sysvsem \
--enable-inline-optimization \
--with-curl \
--enable-mbregex \
--enable-fpm \
--enable-mbstring \
--with-mcrypt \
--with-gd \
--enable-gd-native-ttf \
--with-openssl \
--with-mhash \
--enable-pcntl \
--enable-sockets \
--with-xmlrpc \
--enable-soap \
--enable-short-tags \
--enable-static \
--with-xsl \
--with-fpm-user=www \
--with-fpm-group=www \
--enable-ftp \
--enable-opcache=no
#Generating files
#configure: creating ./config.status
#creating main/internal_functions.c
#creating main/internal_functions_cli.c
#+--------------------------------------------------------------------+
#| License: