手动编译安装php
程序员文章站
2022-05-13 17:22:31
...
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
推荐阅读