代碼: 選擇全部
rpm -Uvh http://rpms.famillecollet.com/remi-release-14.rpm
yum --enablerepo=remi install httpd mysql mysql-server php php-common
yum --enablerepo=remi install php-mysql php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml php-pecl-apc php-cli php-pear php-pdo
chkconfig --level 2345 sshd on
chkconfig --levels 235 httpd on
chkconfig --levels 235 mysqld on