WEBKEEPERSのVPSサーバにPHPをインストール
5 / 16 / 2010
# wget http://jp.php.net/get/php-5.2.13.tar.gz/from/this/mirror
# tar -zxvf php-5.2.13.tar.gz
# yum install gcc
# yum install php-pear
# yum -y install automake
# yum install gcc gcc-c++
# yum -y install httpd-devel
# ./configure
# make
# make install
# cp php.ini-dist /usr/local/lib/php.ini
# vi /usr/local/lib/php.ini
終了ー
htmlでphpを動かすためにhttpd.confに
AddHandler application/x-httpd-php .php .html
と書いておく
Tags: PHP, VPS, WEBKEEPERS








コメントする