PHP
いつものPHPインストールオプション
make distclean
./configure ¥
--with-libdir=lib64 ¥
--with-apxs2=/usr/local/apache2/bin/apxs ¥
--with-pgsql=/usr/local/pgsql ¥
--with-mysql=/usr/local/mysql/lib/mysql ¥
--with-pdo-mysql=/usr/local/mysql ¥
--with-gettext ¥
--with-ldap ¥
--enable-mbstring ¥
--enable-mbregex ¥
--enable-zend-multibyte ¥
--with-curl ¥
--enable-soap ¥
--with-zlib ¥
--with-zlib-dir=/usr/lib64 ¥
--with-gd ¥
--with-jpeg-dir ¥
--with-png-dir ¥
--with-freetype-dir ¥
--enable-gd-native-ttf ¥
--enable-gd-jis-conv ¥
--enable-exif ¥
--enable-sockets ¥
--with-tidy ¥
--with-zlib-dir=/usr/lib64 ¥
--with-mcrypt=/usr/local ¥
CGI版でインストールしたときのオプション
cd /usr/local/src/php-5.2.12
make dist-clean
./configure \
--with-config-file-path=/usr/local/lib/php5-cgi.ini \
--enable-force-cgi-redirect \
--program-suffix=5 \
--enable-cgi \
--without-pear \
--with-libdir=lib64 \
--enable-mbstring \
--enable-mbregex \
--with-mysql=/usr/lib64 \
--with-zlib \
--with-gd \
--with-jpeg-dir \
--with-png-dir \