Home >Backend Development >PHP Tutorial >Manually compile and install php
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