./configure --help 
里面的最全

解决方案 »

  1.   

    ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --enable-track-vars --enable-debug --enable-url-includes --enable-sockets --enable-force-cgi-redirect --enable-calendar ==with-gd --with-config-file-path=/usr/local/lib --with-zlib --with-freetype-dir --enable-gd-native-ttf --with-ttf --with-gdbm --with-gettext --with-iconv --with-png-dir --with-zlib --with-xml --with-mysql=/usr/local/mysql其中apxs2这个你得按照自己的配置修改一下,我是把我的php当我的apache2的摸块加进去的