1. 云栖社区>
  2. PHP教程>
  3. 正文

The Geek Stuff: How to Configure Nginx to Execute PHP Using PHP-FPM

作者:用户 来源:互联网 时间:2017-12-01 20:58:24

The Geek Stuff: How to Configure Nginx to Execute PHP Using PHP-FPM - 摘要: 本文讲的是The Geek Stuff: How to Configure Nginx to Execute PHP Using PHP-FPM, On The Geek Stuff site there's a recent post showing you how to set up and configureNginx to execute PHP using PHP-FPMo

On The Geek Stuff site there's a recent post showing you how to set up and configureNginx to execute PHP using PHP-FPMon your linux-based system. (A related post shows some of the differences betweenNginx and Apacheon the same site.)

Nginx is pronounced as "Engine-X", which is a web server and reverse proxy server. Nginx is well known for its speed and ability to handle large number of requests simultaneously with optimal use of resources. PHP-FPM stands for "PHP-FastCGI process manager". [...] This tutorial provides instructions on how to install and configure Nginx with PHP-FPM, which will help you to execute PHP programs in Nginx.

He's broken it up into five simple steps, complete with the exact commands you'll need to make it work:

  • Install Nginx
  • Install PHP5-FPM
  • Add PHP Configuration to Nginx
  • Set listen Parameter in php5-fpm www.conf
  • Restart the Nginx and PHP5-FPM and Test it

以上是云栖社区小编为您精心准备的的内容,在云栖社区的博客、问答、公众号、人物、课程等栏目也有的相关内容,欢迎继续使用右上角搜索按钮进行搜索,以便于您获取更多的相关知识。