php5のインストール
初めてApach2にphp5をインストールする。OpenPNEを動かしたくなったのです。
コンパイルからやって見ました。インストール自体は本家ページを参考に。
AirEdgeからサーバに接続して作業したため非常に効率悪く、さらにphpのオプション設定にかなり手こずってしまった。ちなみにオプションは以下の通り。
./configure \ --enable-zend-multibyte \ --enable-mbstring \ --enable-mbregex \ --enable-mbstr-enc-trans \ --with-mcrypt \ --with-gd \ --with-zlib \ --with-png-dir=/usr/lib \ --with-jpeg-dir=/usr/lib \ --with-zlib-dir=/usr/lib \ --with-mysql=/usr/local/mysql \ --with-apxs2=/usr/local/apache2/bin/apxs
libpng-devel, libjpeg-develはパッケージからインストール。mcryptはソースからインストール。