1 , log php error logsThe difference between display_errors and log_errorsDisplay_errorsError echo, commonly used in development mode, but many applications also forget to turn off this option in a formal environment. Error echo can expose a lot of
Some common concepts may be confused when you do not pay attention to them. 1. CGI is a common gateway interface. The HTTP server uses this interface program to communicate with other applications (such as PHP interpreter programs). Because CGI
1. PrefaceThe previous article described how to compile and install MySQL, although it can be installed through Yum install or RPM, but the Yum install and RPM installation has one feature, that is, some parameters are customized according to the
Environment description
CentOS 7 x64 4-core 2G memory built in VMware 12
The http://blog.csdn.net/u014595668/article/details/50166277 installed MySQL5.7.9 is already installed in the environment
Tools downloadCompilation
One day, I had a whim to create a site, based on the LNMP architecture, initially only I visited, and later because I was a bit more and more traffic, so eventually led to the following architecture evolution.1. Single machine because it is only a
Nginx PHP-FPM Installation Configuration
Nginx itself can not handle PHP, it is just a Web server, when the request is received, if it is a PHP request, then sent to the PHP interpreter processing, and the results returned to the client.
Nginx is
Example method for using the header function to set HTTP headers in PHP
The code is as follows
Copy Code
Define EncodingHeader (Content-type:text/html;charset=utf-8);AtomHeader
Linux--yum Installing nginx PHP mysql(2011-11-13 11:27:14)reproduced
Tags: gossip
Category: Linux
1. Start a new repo# Vi/etc/yum.repos.d/centos.21andy.com.repo Add the following [21andy.com]name=21andy.com
First, the introduction of environmental construction
Hostname
IP
Zabbix version
System version
Service side
Webserver
192.168.1.20
zabbix2.2
CentOS 6.6
Client
Hpf-linux
19
This shell script is primarily used to initialize the new Linux server system, including shutting down the IPV6 module, turning off the SELinux, allowing Vim to display colors, setting system language encoding, optimizing system services, kernel
This article is based on the last mobile hard disk installed ArchLinux experience modified to add, but half a year, some of the basic components have been changed, Arch Linux is really enough to "toss".PS: Based on the experience of the arch Linux
First step: Install PHP5The second step: Open the terminal "for the convenience, here using the root user", using the CD command to enter the PHP5 source package ext DirectoryStep three: Type the following command at the
FavoriteI have NGINX+PHP-FPM Web serverSo I ' ve noticed in php5-fpm.log many strange lines:[03-sep-2013 09:25:23] NOTICE: [Pool www] child 23999 exited with code 0 after 321.832329 seconds from start[03-sep-2013 09:25:23] NOTICE: [Pool www] child 24
Service is NGINX+PHP-FPM configuration,After running for a period of time, it will often appear:WARNING: [Pool www] server reached Pm.max_children setting (a), consider raising it sub-process reaches the maximum number of child processes required 50
Original http://www.51bbo.com/archives/2194 Theme Nginx php-fpm
Most of the default Nginx connection mode for PHP-FPM monitoring 127.0.0.1:9000, in fact, PHP-FPM also has a socket connection configuration, compared to the default speed is better
This article lists several log files in the Linux system. and combining the log records in the message, a simple analysis is made. Syslog is the default log daemon for Linux systems. The default Syslog profile is the/etc/sysctl.conf file. Typically,
These two days reinstall under the Mac system under the NGINX+PHP+MYSQL environment, today to clean up the installation steps:
1. Installation Homebrew
Ruby-e "$ (curl-fssl https://raw.github.com/Homebrew/homebrew/go/install)"As simple as that, a
Recently, the phenomenon of server downtime more frequent, temporary work, G to hang up, 502 Bad Gateway Nginx, I can not help but remind me before the 504 gateway time-out, the two should be a bit of contact, we must find out. The implication of
File permission settings
Rights Management
The main orders are: chmod, Chown, Chgrp, umask1. Change the permissions of a file or directorychmod2). Change the owner of a file or directoryChown3). Change the group to which the file or directory
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.