Epel & Remi Dependency for CentOS 6
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpmEpel & Remi Dependency for CentOS 5
rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpmFor both (CentOS 5 and 6):
#Install the PHP core
yum --enablerepo=remi,remi-php55 install php php-commonInstall additional common modules:
yum --enablerepo=remi,remi-php55 install php-cli php-gd php-pear php-mysqlnd php-pdo php-pgsql php-pecl-mongo php-sqlite php-pecl-memcached php-pecl-memcache php-mbstring php-xml php-soap php-mcrypt php-fpm#Restart your web server to apply the changes:
service nginx restart文档更新时间: 2019-07-01 10:10 作者:月影鹏鹏