怕忘记, 记录再此. 这个两个服务器上的设置, ت是参考.
PHP 4.3.11
./configure --prefix=/home/raid/system/php
--with-mysql=/home/raid/system/mysql/
--with-apxs=/home/raid/system/apache/bin/apxs
--with-gd --with-zlib
--with-freetype-dir=/usr/
--with-png-dir=/usr/
--with-jpeg-dir=/usr/
--disable-posix
--활성화-메모리 제한
--enable-zend-멀티바이트
--with-iconv
--인라인 최적화 활성화
--활성화-마법-따옴표
--활성화-ftp
PHP 4.4.0
./configure --prefix=/usr/local/php
--with-apxs=/usr/local/apache/bin/apxs
--with-iconv=/usr/로컬
--enable-mbstring
--with-gd
--with-jpeg-dir=/usr/local
--with-png-dir=/usr/local
--with-freetype-dir=/usr/local
--with-ttf --enable-gd-native-ttf
--with-zlib-dir=/usr
--with-dom=/usr/local
--with-mysql=/usr/local
--with-ldap=/usr/local
--with-curl=/usr/local