PHPのセキュリティホール対応。

対応遅め。めんどくさくて放置こいてた。

env CPPFLAGS="-DLIBICONV_PLUG" ./configure \
 --with-apxs=/usr/local/apache/bin/apxs \
 --with-mod_charset \
 --enable-force-cgi-redirect \
 --enable-discard-path \
 --enable-fastcgi \
 --disable-path-info-check \
 --with-openssl=/usr/local/ssl \
 --with-zlib \
 --enable-bcmath \
 --with-bz2=/usr/lib \
 --enable-calendar \
 --without-cpdflib \
 --with-jpeg-dir \
 --with-tiff-dir \
 --with-db \
 --enable-dba \
 --with-cdb \
 --with-gd \
 --with-iconv \
 --enable-mbstring \
 --with-mysql=/usr/local/mysql \
 --with-mysql-sock=/tmp \
 --with-ncurses \
 --with-readline \
 --enable-sockets \
&& make

こんな感じ。iconvは嫌いだ。もはや自分で作ったlibiconvしか入ってなかったり、いろいろあって -DLIBICONV_PLUG つき。普通はいらないと思われる。