ubuntu源码编译php

sudo ./configure --prefix=/usr/local/php --with-bz2 --with-curl --with-jpeg-dir --with-gd --enable-shared --enable-mbstring --with-mcrypt --with-mysql=mysqlnd --with-pdo-mysql=mysqlnd --with-mysqli=mysqlnd --enable-fpm --enable-phar --enable-bcmath --with-zlib --enable-zip --enable-ftp --with-gettext --enable-sockets --with-freetype-dir --with-fpm-user=youth --with-fpm-group=youth --with-config-file-path=/usr/local/php/include/php.ini -with-apxs2=/usr/local/apache/bin/apxs --with-openssl

你可能感兴趣的:(ubuntu源码编译php)