itoigawabass

itoigawaのブログ

アップデート

2014-07-03

mysql apache phpをアップデートした。

mysql-5.6.19
tar zxfv mysql-5.6.19.tar.gz
cd mysql-5.6.19
cmake . -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci
make
make install
/etc/init.d/mysql stop
/etc/init.d/mysql start

httpd-2.2.27
tar zxfv httpd-2.2.27.tar.gz
cd httpd-2.2.27
cp ../httpd-2.2.24/config.nice ./
./config.nice
make
make install
/etc/init.d/apachectl stop
/etc/init.d/apachectl start
# config.niceの内容
#! /bin/sh
#
# Created by configure

"./configure" \
"--enable-ssl" \
"--enable-so" \
"--enable-mods-shared=most" \
"--with-mpm=prefork" \
"--enable-suexec" \
"--with-suexec-caller=nobody" \
"$@"
# config.niceの内容以上

php-5.5.14
tar zxfv php-5.5.14.tar.gz
cd php-5.5.14
cp ../php-5.5.6/config.nice ./
./config.nice
make
make install
/etc/init.d/apachectl stop
/etc/init.d/apachectl start

# config.niceの内容
#! /bin/sh
#
# Created by configure

'./configure' \
'--with-apxs2=/usr/local/apache2/bin/apxs' \
'--with-mysqli=mysqlnd' \
'--with-mysql=mysqlnd' \
'--with-pdo-mysql=mysqlnd' \
'--enable-mbstring' \
'--enable-mbregex' \
'--with-curl=/usr/local/' \
'--with-curlwrappers' \
'--with-gd' \
'--with-jpeg-dir' \
'--with-png-dir' \
'--with-zlib' \
'--with-zlib-dir' \
'--with-freetype-dir' \
'--enable-gd-native-ttf' \
'--enable-gd-jis-conv' \
'--disable-cgi' \
'--with-mcrypt' \
'--enable-exif' \
'--enable-calendar' \
"$@"
# config.nice
--with-curlwrappersで警告が出たがそのまま進んだ。要調査

カテゴリー:apache
タグ: