lighttp+mysql+php环境搭建

wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
wget http://rpms.famillecollet.com/el5.i386/remi-release-5.9-1.el5.remi.noarch.rpm
rpm -ivh epel*.rpm remi*.rpm
yum -y groupinstall "Development Tools"
yum -y install cmake
yum -y --enablerepo=remi install php-pecl-memcache php-mysql php-pecl-json php-mbstring php-devel php-gd* php
yum -y install zlib* bzip2* libxml2* ncurses ncurses-d* readline* freetype*
yum -y --enablerepo=remi install lighttpd lighttpd-fastcgi php php-common php-cli php-pear php-pecl-memcache php-devel gd gd-devel php-gd php-mysql php-mbstring php-xmlwriter
yum -y --enablerepo=remi install mysql-libs mysql.x86_64 mysql-devel.x86_64 mysql-server

©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页