Home  >  Article  >  Backend Development  >  Manually compile and install php

Manually compile and install php

巴扎黑
巴扎黑Original
2016-11-09 13:20:271338browse

wget http://php.net/distributions/php-5.6.4.tar.gz
tar zvxf php-5.6.4.tar.gz \
cd php-5.6.4 \
./configure --prefix=/usr/local/php  --enable-fpm --with-mcrypt --enable-mbstring --disable-pdo --with-curl --disable-debug  --disable-rpath --enable-inline-optimization --with-bz2  --with-zlib --enable-sockets --enable-sysvsem --enable-sysvshm --enable-pcntl --enable-mbregex --with-mhash --enable-zip --with-pcre-regex --with-mysql --with-mysqli 
--with-gd --with-jpeg-dir \
make all install


Statement:
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