centos6.6直接yum安装nginx,并且支持php访问的配置

来源:互联网 发布:网络剪刀手破解版 编辑:程序博客网 时间:2024/06/05 15:53

rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm  


yum -y install nginx  


yum -y php-fpm  


service php-fpm restart  


service nginx restart  


chkconfig php-fpm on  


chkconfig nginx on  
0 0
原创粉丝点击