Home  >  Article  >  Backend Development  >  Why does nginx not support php?

Why does nginx not support php?

藏色散人
藏色散人Original
2021-06-21 10:34:402613browse

nginx does not support php because the corresponding version is not enabled. The solution: first troubleshoot the server carefully; then restart php-fcgi; finally use "netstat -untl" to check whether the port is listening normally. .

Why does nginx not support php?

The operating environment of this article: linux5.9.8 system, PHP version 7.1, Dell G3 computer.

Why doesn’t nginx support php?

It’s not that it’s not supported, it’s because you haven’t turned on the corresponding version.

Please troubleshoot the server carefully, restart php-fcgi, and then use netstat -untl to check whether the port is being monitored normally?

Related introduction:

Nginx (engine x) is a high-performance HTTP and reverse proxy web server, and also provides IMAP/POP3/SMTP services. Nginx was developed by Igor Sesoev for Russia's second most visited Rambler.ru site (Russian: Рамблер). The first public version 0.1.0 was released on October 4, 2004.

It releases source code under a BSD-like license and is known for its stability, rich feature set, simple configuration files and low system resource consumption. On June 1, 2011, nginx 1.0.4 was released.

Nginx is a lightweight web server/reverse proxy server and email (IMAP/POP3) proxy server, released under the BSD-like protocol. Its characteristics are that it occupies less memory and has strong concurrency capabilities. In fact, nginx's concurrency capabilities perform better among web servers of the same type. Users of nginx websites in mainland China include: Baidu, JD.com, Sina, NetEase, Tencent, Taobao, etc.

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of Why does nginx not support php?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn