First, process tracking
The code is as follows
Copy Code
# Top//Find process PID with high CPU usage# Strace-p PID//tracking process# LL/PROC/PID/FD//See which files the process is working on
There will be
First, download the PHP source code
Download Address: http://cn.php.net/downloads.php II, installation
1. Move the downloaded binary package to the/usr/local directory and unzip the package
Tar zxvf php-7.1.4.tar.gz
2, into the decompression of the
PHP-FPM configured in PHP 5.3.6 to service startup
From the beginning of the source code php5.3.3 began to contain PHP-FPM, do not have to play a special patch, just to unlock the source directly configure,
The compilation parameters about PHP-FPM
LNMP Architecture IntroductionMySQL Installation
Start the installation first go to the/USR/LOCAL/SRC directory, put all the installation packages unified into this directory for easy search
[[email protected] src]# cd /usr/local/src
LNMP Architecture Introduction
The only difference with lamp is that n in Lnmp refers to Nginx (a Web service software similar to Apache). The application of this kind of environment is also very many at present. Nginx Design is designed to
First, installation PreparationFirst, because some of the Nginx modules rely on some Lib library, so before installing Nginx, you must first install these Lib libraries, these dependent libraries mainly have g++, GCC, openssl-devel, pcre-devel and
First, the preparatory work:Software default download under/USR/LOCAL/SRC, installed in the/app/local php, MySQL, nginx, the data directory, the installation sequence according to nginx->mysql->phpCompiling the toolset:Yum install-y wget gcc gcc-c++
There are two ways to combine Apahce and PHP1 PHP as a module combined with Apache2 PHP combined as a standalone process with Apache, this way you need to handle PHP scripts in reverse proxy modeThe separation of MySQL in lamp, the general use is
CentOS 5.11 is still using the older MySQL 5.0.59 server version, and PHP is also using the highest and 5.3.3 (using yum-y install PHP53 installation). From the official view the last version of 5.3 is 5.3.29 has been discontinued in August 2014,
Install and configure phpMyAdmin4.4.7 in CentOS6.6
Install and configure phpMyAdmin 4.4.7 in CentOS 6.6
Homepage → Database Technology
Background:Read News
Install and configure phpMyAdmin 4.4.7 in CentOS 6.6
[Date: 2015-09-07]
Experiment to prepare 3 virtual machines192.168.239.136/192.168.239.140/192.168.239.1441 Installing PHP 192.168.239.140/192.168.239.144Do these preparations before installing (install the base environment)yum-y Groupinstall "Development Tools"
Explanation of four common php running methods and php4
Four Common php running modes: CGI, FastCGI, APACHE2HANDLER, and CLI.
1. CGI
CGI is the common gatewag interface. It is a program. Generally speaking, CGI is like a bridge, which connects the
Compile and install PHP7 and install the redis extension swoole extensionOn the machine that compiles PHP7, there are already more than php5.3 versions installed, thus relying on the library hasThis php7 is compiled into fpm-php use,If it's Apache,
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.