Home > Article > Backend Development > Can PHP run without Apache?
PHP can be run without Apache; PHP is an interpreted language and must rely on the server. Without Apache, you can also use IIS, ngnix, etc. as a server to run. ngnix is a high-performance HTTP and reverse proxy web server, and IIS is a web server in Windows.
The operating environment of this tutorial: windows7 system, PHP7.1 version, DELL G3 computer
php is an interpreted language and must rely on services If you can run php without apache installed, you can use IIS, ngnix, etc. as the server. If there is no server, use the built-in running mechanism instead, and some IDEs also have it.
Extended information:
Apache (transliterated as Apache) is the world's number one Web server software. It can run on almost all widely used computer platforms and is one of the most popular web server-side software due to its cross-platform and security features. It is fast, reliable and can be extended through a simple API to compile interpreters such as Perl/Python into the server.
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, sample 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 Can PHP run without Apache?. For more information, please follow other related articles on the PHP Chinese website!