[PHP] Linux下配置Nginx使之支持PHP →→→→→进入此内容的聊天室

来自 , 2020-06-19, 写在 PHP, 查看 140 次.
URL http://www.code666.cn/view/c20a7ce2
  1. ## Remi Dependency on CentOS 5 and Red Hat (RHEL) 5 ##  
  2. rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
  3.  
  4. ## CentOS 5 and Red Hat (RHEL) 5 ##  
  5. rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
  6.  
  7. yum --enablerepo=remi,remi-test install nginx php php-fpm php-common
  8. or
  9. yum --enablerepo=remi install php53 php-fpm
  10.  
  11. chkconfig --add nginx  
  12. chkconfig --levels 235 nginx on  
  13. chkconfig --add php-fpm  
  14. chkconfig --levels 235 php-fpm on
  15.  

回复 "Linux下配置Nginx使之支持PHP"

这儿你可以回复上面这条便签

captcha