|
|
发表于 2005-10-7 09:18:57
|
显示全部楼层
以下是我的apache,mysql,php编译参数,分享给大家:
Mysql:
./configure --prefix=/opt/mysql --with-mysqld-user=thatday --with-extra-charsets=all --with-unix-socket-path=/opt/mysql/var/mysql.sock
Apache:
./configure --prefix=/opt/apache --enable-track-vars --enable-cgi --with-config-file-path=/opt/apache/conf --enable-so --enable-ssl --with-ssl=/usr/share/ssl --enable-rewrite
PHP:
./configure --prefix=/opt/php \
--with-apxs2=/opt/apache/bin/apxs \
--with-gd=/usr \
--enable-gd \
--enable-gd-native-ttf \
--with-jpeg-dir=/usr \
--with-png \
--with-ttf \
--with-zlib \
--with-freetype-dir=/usr \
--enable-magic-quotes \
--with-mysql=/opt/mysql \
--with-mysql-sock=/opt/mysql/var/mysql.sock \
--with-iconv \
--with-mbstring \
--enable-mbstring \
--enable-track-vars \
--enable-force-cgi-redirect \
--enable-ftp \
--with-config-file-path=/opt/php/etc \
--with-openssl \
--with-openssl-dir=/usr/share/ssl \
--with-cpdflib=/usr/local \
--with-pear=/opt/php/pear |
|