php编译选项

yum install -y pam-devel libc-client libc-client-devel  libxml2-devel libxml2

./configure --prefix=/phpstudy/server/php --with-config-file-path=/phpstudy/server/php/etc --with-config-file-scan-dir=/phpstudy/server/php/etc/php.d --with-bz2 --with-openssl --with-zlib --with-mhash --with-pcre --enable-exif --enable-sockets --enable-mbstring --enable-xml --enable-fpm --enable-soap --with-gd --with-curl --with-mcrypt --with-unixODBC --with-imap --with-imap-ssl --with-jpeg-dir --with-png-dir --with-zlib-dir --with-freetype-dir --enable-gd-native-ttf --enable-gd-jis-conv --with-mysqli --with-pdo-mysql --enable-dom --with-kerberos --disable-debug 

猜你喜欢

转载自canlynet.iteye.com/blog/2334475