: This article describes how to install the Nginx compiling and deployment environment. if you are interested in the PHP Tutorial, refer to it. Nginx can be installed using the default packages on various platforms. This article describes how to use
This article introduces how to implement gzip compressed output in php. For more information, see
1. gzip introduction
Gzip is short for GNU zip. it is a file compression program of GNU Free software and is often used to indicate the file format
Installation details for MRTG under Linux (CentOS)MRTG is very powerful, he can control your server for a move, and web-style presented to you, to tell you the network, CPU, memory, hard plate and other uses, but the configuration of this software
Linux/centos installation of Nginx (RPM installation and source installation) detailed steps to install nginx RPM Package 1 on the Nginx official website to download an RPM package, is: Http://nginx.org/en/download.htmlwget http
Install nginx rpm package under CentOS www.169it.com 1 Download an RPM package on the Nginx official website, yes: http://nginx.org/en/download.htmlwget http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm2
Gzencode uses the Zlib_encoding_gzip encoding by default, using the GZIP compression format, actually compressing the data using the Defalte algorithm, and then adding the file header and the Adler32 checksumgzdeflate By default Zlib_encoding_raw
Prepare an article
First, firewall configuration
CentOS 7.x defaults to use firewall as a firewall, here to iptables firewall.
1. Close firewall:
Systemctl Stop Firewalld.service #停止firewall
Prepare the article:CentOS 7.0 System installation Configuration Diagram tutorialHttp://www.jb51.net/os/188487.html
First, configure the firewall, open 80 ports, 3306 ports
CentOS 7.0 uses firewall as a firewall by default, and this is iptables
Nginx:
Nginx is a lightweight Web server/reverse proxy server and e-mail (IMAP/POP3) proxy Server
Characteristics:
Reverse proxy load balancing static and dynamic separation ...
Reverse proxy:
First to understand the forward agent: We need users to
Prepare the article:
First, configure the firewall, open 80 ports, 3306 ports
Vi/etc/sysconfig/iptables #编辑防火墙配置文件
# Firewall configuration written by System-config-firewall
# Manual Customization of this file is not
I. Process of dependence
1. Gzip module requires zlib library
2. Rewrite module requires Pcre library
3. SSL support requires OpenSSL library
Second, the CentOS Platform compilation Environment uses the following instructions, if CentOS is not
Prepare the article:CentOS 6.6 System Installation Configuration Illustration tutorialHttp://www.osyunwei.com/archives/8398.htmlFirst, configure the firewall, open 80 port, 3306 portVi/etc/sysconfig/iptables #编辑防火墙配置文件# Firewall configuration
Share two ways to compress page output data to speed up webpage access, one is to use php zlib extension to implement gzip compressed page output (Use php's built-in function ob_gzhandler for gzip compressed output), and the other is to modify php.
This paper mainly introduces the implementation of PHP compression function: Gzencode, Gzdeflate, gzcompress, the need for friends to reference. We hope to help you.
Gzencode uses Zlib_encoding_gzip encoding by default, using the gzip compression
Previously, I introduced how to use phpzlib extension to implement gzip compressed page output, mainly through the ob_gzhandler built-in function for gzip compressed output. In fact, php also provides the configuration method to enable the full-site
See if you have installedRpm-qa | grep nginxRemove installation#普通删除模式RPM-E Nginx#强力删除模式, if you use the above command to delete, prompting for other dependent files, then use this command can be strongly deletedRPM-E--nodeps NginxTo see if the port
Apache + PhP website performance optimization
1. Enable gzip compression (for file size)The page size can be compressed more than 70%;
1. Open the php. ini configuration file and find zlib. output_compression = OFF.
Zlib. output_compression =
Address: http://www.builderau.com.au/program/0,39024614,39130604-1,00.htm
PHP 5.0 has finally arrived. Here's a step-by-step guide to setting up a cutting-edge web development environment with PHP 5.0, Apache 2.0, and MySQL 4.1.3.
After months of
"This article uses the source code compiles installs, including the concrete compilation parameter information"1. Install makeYum Install GCC Make -Y means auto Select YesGCC (GNU Compiler Collection) was originally a C-predicted compiler (GNU C
Centos6.5 Lamp Environment Source package installation and configuration
HTTP://PAN.BAIDU.COM/S/1NVNRUZV installation package Baidu Network disk addressLamp is a Web network application and development environment, is the abbreviation of
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.