php5.6 编译安装

./configure \ --prefix=/usr/local/php56 \ --with-config-file-path=/usr/local/php56/etc \ --enable-inline-optimization \ --disable-debug \ --disable-rpath \ --enable-shared \ --enable-opcache \ --enable-fpm \ --with-fpm-user=www \ --with-fpm-group=www \ --with-mysql=mysqlnd \ --with-mysqli=mysqlnd \ --with-pdo-mysql=mysqlnd \ --with-gettext=/usr/local/Cellar/gettext/0.19.8.1 \ --enable-mbstring \ --with-iconv=/usr/local/Cellar/libiconv/1.15 \ --with-mcrypt \ --with-mhash \ --with-openssl="/usr/local/Cellar/openssl/1.0.2p" \ --enable-bcmath \ --enable-soap \ --with-libxml-dir \ --enable-pcntl \ --enable-shmop \ --enable-sysvmsg \ --enable-sysvsem \ --enable-sysvshm \ --enable-sockets \ --with-curl="/usr/local/Cellar/curl/7.63.0" \ --with-zlib="/usr/local/Cellar/zlib/1.2.11" \ --enable-zip \ --with-bz2=/usr/local/Cellar/bzip2/1.0.6_1 \ --with-readline=/usr/local/Cellar/readline/7.0.5

make

make install

发表评论

电子邮件地址不会被公开。 必填项已用*标注