カレンダー
2007年3月
1 2 3
4 5 6 7 8 910
11121314151617
18192021222324
25262728293031

<<Backward
Wiki内検索
最近更新したページ
最新コメント
USBメモリのマウント by Order Viagra
USBメモリのマウント by パソコン修理マン
カテゴリー
このウィキの読者になる
更新情報がメールで届きます。
このウィキの読者になる
メニューバーB
ここは自由に編集できるエリアです。

2006年12月
1 2
3 4 5 6 7 8 9
10111213141516
17181920212223
24252627282930
31
最新コメント
USBメモリのマウント by Order Viagra
USBメモリのマウント by パソコン修理マン

PHP5.4のインストール

PHP5.4.xのインストール

日本PHPユーザ会よりphp-5.4.x.tar.gzをダウンロードし、
configureする。configureのオプションは、下記の通り

./configure --with-apxs2=/usr/local/bin/apxs \
--with-mysql=/usr/local/mysql \
--without-pgsql \
--with-config-file-path=/usr \
--enable-mbregex \
--enable-zend-multibyte \
--enable-mbstring \
--with-curl=/usr \
--enable-ftp \
--with-imap-ssl \
--with-kerberos \
--with-openssl \
--enable-magic-quotes \
--with-pear \
--enable-safe-mode \
--enable-sockets \
--with-gd \
--enable-gd-native-ttf \
--with-ttf=/usr \
--with-zlib \
--with-zlib-dir=/usr \
--with-png-dir=/usr \
--enable-exif \
--with-freetype-dir=/usr \
--with-gettext=/usr

configureする前に、mysqlのシンボリックリンクが必要
# mkdir /usr/local/mysql \
# cd /usr/local/mysql \
# ln -s /usr/include/mysql include \
# ln -s /usr/lib64/mysql lib

apache2もインストールする。
httpd.confと/etc/php.iniの設定はつぎのページを参照
http://centos.server-manual.com/centos5_apache2_ph...
2013年02月07日(木) 22:04:34 Modified by orangekid2




スマートフォン版で見る