what is openresty
What is openresty?
OpenResty Introduction
OpenResty (also known as: ngx_openresty) is a scalable Web platform based on NGINX. It was initiated by Chinese Zhang Yichun and provides many High-quality third-party modules.
OpenResty is a powerful Web application server. Web developers can use the Lua scripting language to mobilize various C and Lua modules supported by Nginx. More importantly, in terms of performance, OpenResty can quickly construct a server capable of handling 10K Ultra-high-performance web application system that responds to the above concurrent connections.
360, UPYUN, Alibaba Cloud, Sina, Tencent, Qunar.com, Kugou Music, etc. are all deep users of OpenResty.
OpenResty installation
The novice tutorial is to install OpenResty on ubuntu14.04.
OpenResty dependent libraries include: perl 5.6.1, libreadline, libpcre, libssl.
So we need to install these dependent libraries first, which is very simple:
apt-get install libreadline-dev libpcre3-dev libssl-dev perl
If your system is Centos or RedHat, you can use the following command:
yum install readline-devel pcre-devel openssl-devel
Follow us You can download the latest OpenResty source code package from the official website (https://openresty.org/cn/) and unzip, compile and install:
wget https://openresty.org/download/ngx_openresty-1.9.7.1.tar.gz # 下载 tar xzvf ngx_openresty-1.9.7.1.tar.gz # 解压 cd ngx_openresty-1.9.7.1/ ./configure make make install
By default, the program will be installed to the /usr/local/openresty directory. You You can use ./configure --help to view more configuration options.
For more programming related content, please pay attention to the Programming Tutorial column on the php Chinese website!
The above is the detailed content of what is openresty. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



The article discusses useEffect in React, a hook for managing side effects like data fetching and DOM manipulation in functional components. It explains usage, common side effects, and cleanup to prevent issues like memory leaks.

Lazy loading delays loading of content until needed, improving web performance and user experience by reducing initial load times and server load.

The article explains React's reconciliation algorithm, which efficiently updates the DOM by comparing Virtual DOM trees. It discusses performance benefits, optimization techniques, and impacts on user experience.Character count: 159

The article discusses currying in JavaScript, a technique transforming multi-argument functions into single-argument function sequences. It explores currying's implementation, benefits like partial application, and practical uses, enhancing code read

Higher-order functions in JavaScript enhance code conciseness, reusability, modularity, and performance through abstraction, common patterns, and optimization techniques.

Article discusses connecting React components to Redux store using connect(), explaining mapStateToProps, mapDispatchToProps, and performance impacts.

The article explains useContext in React, which simplifies state management by avoiding prop drilling. It discusses benefits like centralized state and performance improvements through reduced re-renders.

Article discusses preventing default behavior in event handlers using preventDefault() method, its benefits like enhanced user experience, and potential issues like accessibility concerns.
