14.3 "Linux learning is not difficult"UseRPMSoftware packages (3): InstallRPMPackageRPM installation process for software packages 9.1 shown, if the package satisfies the dependency condition, the installation is allowed, and if the dependencies are not met, the other packages need to be installed first. Use rpm command can be Linux Install, delete, refresh, upgrade, query in the system RPM package. Command
2 RPM (redhatPackageManager) package management introduction: 3 RPM command: 1 rpm software package naming convention: Note: An RPM is for a specific platform to call the package linuxabc-120-30el6i686rpm2RPM basic commands install soft
II. Introduction to RPM (redhat Packa
, like this:
1234567
location ~ \. PHP$ { Index index. PHP index. HTML index. HTM; include /etc/nginx/fastcgi_params; fastcgi_pass 127.0.0.1:9000; fastcgi_index index. PHP; include fastcgi_params; }
The second step, edit the php-fpm configuration file/etc/php5/fpm/pool.d/www.confModify the Listen parameter to 127.0.0.1:9000, like this:
Objective: To ascertain the fastcgi and php-fpm of ChuArticle Source: http://segmentfault.com/q/1010000000256516Problem:I check the relationship between FastCGI and php-fpm on the Internet, check for a week, the basic look at the times, it is very divergent opinions, there is no authoritative definition.Online some say, fastcgi is a protocol, PHP-FPM realize this
The RPM Package Manager is one of the oldest software packages in Linux, and is currently the most popular package manager, and many distributions use RPM as the default package management software.RPM Package Name format:samba-client-3.0.33-3.7.el5.i386.rpmSamba-client is the name of the package, and the 3.0.33 in 3.0.33-3.7 represents the major version number of the package, followed by 3.7 for the minor
This article mainly introduces the PHP-FPM boot automatic shell script, this article script is just an example, in fact, you compile the installation completed, the startup script has been generated in the compilation directory, only need to copy out to use on it, need friends can refer to the
Online there are various versions of the PHP-FPM boot automatic script, in fact, you compiled the source directory
PHP-FPM currently has two branches, which correspond to the php-5.2.x version and the php-5.3.x version. In the 5.2.x version, php-fpm.conf uses XML format, and in the new 5.3.x version, it is the same configuration style as php.ini.1.PHP-FPM provides a slow execution log that can dump the calling process of a slow script into the log.PHP 5.3.3 is set up as follows:After PHP 5.3.3, set the following as foll
1. Because I do not know why, in the Internet to find a lot of information, nginx to and PHP-FPM, so before using Nginx configuration to install PHP-FPM2.yum Install Php70w-fpm,service php-fpm startUsing Yum install PHP-FPM will errorError:php70w-common conflicts with php-common-5.4.16-42.el7.x86_64You could try using-
This article mainly explains the php-under Linux
FPMSome important parameters of the Chinese detailed description, and detailed introduction of the php-
FPMIntroduction to performance-related parametric optimizations Let's take a look at php-
FPMA performance-related introduction.
php-fpm.conf Important Parameters Detailed
PID = Run/php-fpm.pid#pid设置, the default is var/run/php-fpm.pid in the installation directory, it is recommended to turn on
Error_log = Log/php-fpm.log#错误日志, Var/log/php-fpm.
The version after fastcgi:php-5.3.3 comes with the FPM component,The FPM component enables the PHP interpreter to work as a daemon and provides an application similar to the Prefork mode that can receive FASTCGI server from the front-end httpd,http-proxy-fcgi reverse proxy user to the backend for dynamic content requestsThere are a few areas to note when building a split lamp:1. Dynamic resources are deploy
After loading nginx and php-5.5, configure the Nginx to invoke PHP and start php-fpm.
Use the following command
Copy Code code as follows:
/usr/local/php/sbin/php-fpm
You can start it up.
Create a PHP detection script in the Nginx directory index.php
Results in opening http://localhost/index.php
The discovery of tragedy cannot be opened. View the log file and see the reason for th
Install MySQL as an rpm package, and mysql as an rpm package
1. Download the rpm package required for Mysql Installation
http://cdn.mysql.com/Downloads/MySQL-5.6/MySQL-server-5.6.21-1.linux_glibc2.5.x86_64.rpmhttp://cdn.mysql.com/Downloads/MySQL-5.6/MySQL-client-5.6.21-1.linux_glibc2.5.x86_64.rpmhttp://cdn.mysql.com/Downloads/MySQL-5.6/MySQL-devel-5.6.21-1.linux_
-downloadonly:yum-y install Yum-downloadonlyuse:yum-y install--downloadonly--downloaddir=/tmp/firefox 3. Install Firefox and download dependent componentsNote: RPM-IVH may report a software conflict or a dependency, if the use of RPM-E--nodeps Force assistance after installation, may appear rpm, yum commands such as abnormal or unable to connect xftp tools. You
Original works, allow reprint, reprint, please be sure to hyperlink form to indicate the original source of the article, author information and this statement. Otherwise, legal liability will be held. http://snailwarrior.blog.51cto.com/680306/145588 keep It useful yesterday accidentally put/etc/mail/ SENDMAIL.MC modified, and did not back up the original file, and then thought of the RPM package from the extraction. First, determine which
The configuration of LNMP or LNAMP environment is not described here, only the process of configuring multiple instances on the basis of a LNMP environment. Because I am using the lnamp environment, I compile an extra copy of PHP to/usr/local/php-fpm/, configuration file in/etc/php-fpm/, and make notes on this basis.
Modify three values First:1, in static mode, that is, the number of fixed processes runnin
Currently, the latest 5.3.x php-fpm has two ways to manage processes: static and dynamic. if it is set to static, the number of processes is always pm from start to end. the number specified by max_children. start... currently, the latest 5.3.x php-fpm has two ways to manage processes: static and dynamic. if it is set to static, the number of processes is always pm from start to end. the number specified by
PHP-FPM detailed
Original link: http://php-fpm.anight.org/wiki:http://www.php-fpm.com/Translation: http://syre.blogbus.com/logs/20092011.html
What is FastCGI
FastCGI is a scalable, high-speed interface for communication between Web servers and scripting languages. More information on fastcgi technology can be found on the official website and Wikipedia.
FastCGI is supported by many scripting languages, including PHP, if compiled with the--enabl
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.