mod_becomeとPHP5.1.4のインストール&初期設定。
まずはmod_becomeのインストール。
# fetch http://www.snert.com/Software/mod_become/mod_become103.tgz
# tar zxvf mod_become103.tgz
# cd mod_become-1.3/
# vi Makefile
APXS=apxs
APACHECTL=apachectl
を
APXS=/usr/local/apache/bin/apxs
APACHECTL=/usr/local/apache/bin/apachectl
と書き換え。
# make install-dynamic
・
・
・
(中略)
・
・
・
***************************************************************
As a Canadian living in France, there are somethings that are hard
for me to find. If you would like to say "Thank You" and/or get
support for my software, I would appreciate one (or more ;-) items
from my http://www.amazon.com/ wishlist under "achowe@snert.com".
Thank you,
Anthony Howe
で完了。
次にPHPのインストール。
# fetch http://www.php.net/get/php-5.1.4.tar.gz/from/jp.php.net/mirror
# mv mirror php-5.1.4.tar.gz
# tar zxvf php-5.1.4.tar.gz
# cd php-5.1.4/
# ./configure
? --enable-track-vars
? --enable-trans-sid
? --with-mysql=/usr/local
? --disable-debug
? --with-apxs=/usr/local/apache/bin/apxs
? --with-libxml-dir=/usr/local/lib
? --with-zlib-dir=/usr/lib
? --without-iconv
? --enable-mbstring
? --with-gd=/usr/local
? --with-freetype-dir=/usr/local
? --with-jpeg-dir=/usr/local
? --with-png-dir=/usr/local
? --with-zlib-dir=/usr/local
? --enable-gd-native-ttf
? --enable-gd-jis-conv
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking host system type... i386-unknown-freebsd6.1
checking target system type... i386-unknown-freebsd6.1
・
・
・
(中略)
・
・
・
+--------------------------------------------------------------------+
| License: |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE. By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point. |
+--------------------------------------------------------------------+
Thank you for using PHP.
# make
・
・
・
(中略)
・
・
・
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
# make install
Installing PHP SAPI module: apache
[activating module `php5' in /usr/local/apache/conf/httpd.conf]
cp libs/libphp5.so /usr/local/apache/libexec/libphp5.so
・
・
・
(中略)
・
・
・
You may want to add: /usr/local/lib/php to your php.ini include_path
Installing PDO headers: /usr/local/include/php/ext/pdo/
で完了。
php.iniは旧サーバで使用していたものを
そのまま使用。
これで一応Webがらみはすべて動く。はず。
明日はメール関連のインストールと設定。
# fetch http://www.snert.com/Software/mod_become/mod_become103.tgz
# tar zxvf mod_become103.tgz
# cd mod_become-1.3/
# vi Makefile
APXS=apxs
APACHECTL=apachectl
を
APXS=/usr/local/apache/bin/apxs
APACHECTL=/usr/local/apache/bin/apachectl
と書き換え。
# make install-dynamic
・
・
・
(中略)
・
・
・
***************************************************************
As a Canadian living in France, there are somethings that are hard
for me to find. If you would like to say "Thank You" and/or get
support for my software, I would appreciate one (or more ;-) items
from my http://www.amazon.com/ wishlist under "achowe@snert.com".
Thank you,
Anthony Howe
で完了。
次にPHPのインストール。
# fetch http://www.php.net/get/php-5.1.4.tar.gz/from/jp.php.net/mirror
# mv mirror php-5.1.4.tar.gz
# tar zxvf php-5.1.4.tar.gz
# cd php-5.1.4/
# ./configure
? --enable-track-vars
? --enable-trans-sid
? --with-mysql=/usr/local
? --disable-debug
? --with-apxs=/usr/local/apache/bin/apxs
? --with-libxml-dir=/usr/local/lib
? --with-zlib-dir=/usr/lib
? --without-iconv
? --enable-mbstring
? --with-gd=/usr/local
? --with-freetype-dir=/usr/local
? --with-jpeg-dir=/usr/local
? --with-png-dir=/usr/local
? --with-zlib-dir=/usr/local
? --enable-gd-native-ttf
? --enable-gd-jis-conv
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking host system type... i386-unknown-freebsd6.1
checking target system type... i386-unknown-freebsd6.1
・
・
・
(中略)
・
・
・
+--------------------------------------------------------------------+
| License: |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE. By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point. |
+--------------------------------------------------------------------+
Thank you for using PHP.
# make
・
・
・
(中略)
・
・
・
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
# make install
Installing PHP SAPI module: apache
[activating module `php5' in /usr/local/apache/conf/httpd.conf]
cp libs/libphp5.so /usr/local/apache/libexec/libphp5.so
・
・
・
(中略)
・
・
・
You may want to add: /usr/local/lib/php to your php.ini include_path
Installing PDO headers: /usr/local/include/php/ext/pdo/
で完了。
php.iniは旧サーバで使用していたものを
そのまま使用。
これで一応Webがらみはすべて動く。はず。
明日はメール関連のインストールと設定。
このネタへのコメント:
コメントはありません。