Home > Backend Development > PHP Tutorial > 记录个人php编译安装

记录个人php编译安装

WBOY
Release: 2016-06-23 13:34:38
Original
1074 people have browsed it

安装之前:

yum -y install curl-devel libxml2-devel libpng-devel libmcrypt-devel libjpeg-devel openssl-develwget ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/attic/libmcrypt/libmcrypt-2.5.7.tar.gztar -zxvf libmcrypt-2.5.7.tar.gzcd libmcrypt-2.5.7 ./configure --prefix=/usr/local/libmcryptmake && make install
Copy after login

下载php:

 wget -c http://au1.php.net/get/php-5.6.8.tar.gz/from/this/mirror  tar -zxvf mirror  cd php-5.6.8/  ./configure --enable-fpm --enable-soap --enable-sockets --enable-zip --with-curl --with-mysql=/usr/local/mysql-5.5.41-linux2.6-x86_64 --with-mysqli=/usr/local/mysql-5.5.41-linux2.6-x86_64/bin/mysql_config --with-gd --with-openssl --with-pdo-mysql=/usr/local/mysql-5.5.41-linux2.6-x86_64 --prefix=/usr/local/php --with-iconv --with-mcrypt=/usr/local/libmcrypt  make && make install
Copy after login



Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template