./configure --prefix=/export/servers/php --with-config-file-path=/export/servers/php/etc --with-mysql=/export/servers/mysql/ --with-mysqli=/export/servers/mysql/bin/mysql_config --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --enable-xml --disable-rpath --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fpm --enable-pcntl --enable-sockets --with-ldap --with-ldap-sasl --with-xmlrpc --enable-zip
APACHE增加:--with-apxs2=/usr/sbin/apxs