MySQL5.1、PHP5.3 をインストール
# yum --enablerepo=remi install mysql
phpMyAdminで必要な php-mcrypt 等をインストール
# yum --enablerepo=remi install php-mcrypt php-xml
httpd-devel が必要だったのでインストール
# yum --enablerepo=remi install httpd-devel
MySQL5.1、PHP5.3 をインストール
# yum --enablerepo=remi install mysql
phpMyAdminで必要な php-mcrypt 等をインストール
# yum --enablerepo=remi install php-mcrypt php-xml
httpd-devel が必要だったのでインストール
# yum --enablerepo=remi install httpd-devel
最新版に近いパッケージをインストール出来るようにremiリポジトリを導入する
# rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi
# cd /etc/yum.repos.d # wget http://rpms.famillecollet.com/remi-enterprise.repo
常時有効(enabled=1)になっていないかチェックする。
# vi /etc/yum.repos.d/remi-enterprise.repo [remi] name=Les RPM de remi pour Enterprise Linux $releasever - $basearch #baseurl=http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/ mirrorlist=http://rpms.famillecollet.com/enterprise/$releasever/remi/mirror enabled=0 ←1なら0に変更 gpgcheck=1 gpgkey=http://rpms.famillecollet.com/RPM-GPG-KEY-remi failovermethod=priority [remi-test] name=Les RPM de remi en test pour Enterprise Linux $releasever - $basearch #baseurl=http://rpms.famillecollet.com/enterprise/$releasever/test/$basearch/ mirrorlist=http://rpms.famillecollet.com/enterprise/$releasever/test/mirror enabled=0 ←1なら0に変更 gpgcheck=1 gpgkey=http://rpms.famillecollet.com/RPM-GPG-KEY-remi
--enablerepo=remi オプションをつけてyumを実行する
# yum --enablerepo=remi update
純正レポジトリに postgresql を上書きされない様に無効化しておく。
/etc/yum.repos.d/CentOS-Base.repo を編集のうえ、[base]と[update]のそれぞれのセクションに、
exclude=postgresql*
を追記する。
…つづきを読む
環境
CentOS 4.8
Apache 2.2.15
PHP 5.2.13
http://framework.zend.com/download/latest
「Zend Framework Full Package」から Zend Framework 1.10 full をダウンロード
ユーザー登録が必要。
wget http://downloads.zend.com/framework/1.10.5/ZendFramework-1.10.5.tar.gz
# tar -zxvf ZendFramework-1.10.5
/usr/share/php 配下に移動する。
# mv ZendFramework-1.10.5 /usr/share/php
include_path を設定する
include_pathで検索して以下のパスを追記
# vi /etc/php.ini ... include_path = “.:/usr/share/php/ZendFramework-1.10.5/library” ...
Apache を再起動させる。