您的位置:首页 > 运维架构 > Apache

如何安装最新的apache+mysql+php

2011-12-06 14:35 507 查看
wget http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm 
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm 
rpm -Uvh epel-release-6-5.noarch.rpm

rpm -Uvh remi-release-6.rpm

yum --enablerepo=remi install php php-devel php-pdo \
php-common mysql mysql-server php-mysql httpd  \
mysql-devel mysql-connector-odbc libdbi-dbd-mysql \
php-gd php-xml php-mbstring php-ldap php-pear \
php-xmlrpc  httpd-manual mod_ssl mod_perl mod_auth_mysql

yum --enablerepo=remi install php-fpm php-eaccelerator
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: