■
Apache2.0.59+php5.2.3+MySQL
PHP5.2.3ではcurlとxmlを使うので、libcurlとlib2xmlモジュールを先にインストールしておく
libxml2のインストール
# cd /usr/local/src
# wget ftp://xmlsoft.org/libxml2/libxml2-2.6.29.tar.gz
# tar zxvf libxml2-2.6.29.tar.gz
# cd libxml2-2.6.29
# ./configure
# make
# make install
/usr/local/bin/xml2-config に作成される
libcurlをインストールする
# wget http://curl.haxx.se/download/curl-7.16.4.tar.gz
#tar zxvf curl-7.16.4.tar.gz
#cd curl-7.16.4
とりあえず、何も考えずconfigureしてみる。
まずは解凍
tar zxvf php-5.2.3.tar.gz cd php-5.2.3
configureを行う
#! ./configure --enable-mbstring --enable-soap
makeしてインストールする
make make install
という流れなわけだが、zlibでエラー。引き続きpngでエラー。ということで、jpegも省いてみる。
こんどはこんなエラー。
Note that the MySQL client library is not bundled anymore!
どうやらMySQLがないだろといってるようだが・・・
入れたけど設定まだかも笑
先にMySQL設定しろってか。
ハイハイ。
参考サイト:
curl http://curl.haxx.se/
Webツール研究所 http://li-pton.com/wordpress/php/php5_2_3.html
8th Note http://blog.c-production.com/archives/2006/05/php5.html
#make
#make install
/usr/local/bin/curl に作成される