Skip to content

Instantly share code, notes, and snippets.

@luxixing
Created June 23, 2013 02:27
Show Gist options
  • Save luxixing/5843486 to your computer and use it in GitHub Desktop.
Save luxixing/5843486 to your computer and use it in GitHub Desktop.
php编译选项 报错一般就是扩展依赖的库不存在,查找并且安装即可
./configure\
--with-config-file-path=/usr/local\
--with-config-file-path=/usr/local/etc/php\
--enable-fpm\
--with-fpm-user=php-fpm\
--with-fpm-group=php-fpm\
--enable-mysqlnd\
--with-mysqli\
--with-pdo-mysql\
--with-mysql=mysqlnd\
--with-zlib\
--with-xmlrpc\
--with-pcre-regex\
--with-openssl\
--with-curl\
--with-gettext\
--with-png\
--with-jpeg\
--with-freetype\
--enable-exif\
--with-gd\
--enable-gd-native-ttf \
--enable-mbstring\
--enable-ftp\
--enable-calendar\
--enable-sockets\
--enable-soap\
--enable-opcache\
--enable-pcntl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment