One, PHP-FPM pool (configure multiple pools with multiple isolation sites)#cd/usr/local/php-fpm/etc/#vim php-fpm.conf//Add configuration file to the second site aming.com, [www] and [aming.com] in the configuration file are equivalent to two
After installing php extensions, we often encounter the need to add extensions after compiling and installing php. The last time our company encountered such a situation, we upgraded php from 5.3.3 to 5.6.8, then re-compile and install 5.6.8. but
Preface:
We all know that Apache, as a good web server, occupies more than half of the market, and no one can replace it at present. However, apart from Apache, Apache is among the top web server software vendors, nginx has won the favor of many
1 [PHP] View plaincopy on code to see a snippet derived from my Code slice2 installing Redis and PHP Redis extensions under Linux3 4Environment configuration: CENTOS6.0nginx/1.0.0php/5.3.8mysql/5.5. - 5 6 Step one, download Redis7can go to
Today I will introduce to you about php-fpm process close and restart command, PHP-FPM is a PHP FastCGI manager, is only for PHP and PHP5.3.3 has integrated php-fpm, it is no longer a third-party package.
Let's first understand what is php-fpm
The
Note: This tutorial includes the following three parts: 1. source code compilation and installation Nginx2. source code compilation and installation of php and mysql and redis extension modules 3. the installation package program involved in the
Php-fpm process shutdown and restart script details, php-fpm details. Php-fpm process shutdown and restart script details, php-fpm details first to understand what is php-fpmPHP-FPM is a PHPFastCGI manager, is only used for PHP. PHP-FPM is actually
Using the LNMP environment, the test sent in the probe to send the message, failed. The Mail () function has been determined to be turned on.Source of the problemSendMail components are not installed or startedSolutionsI am a novice, command not
The recent 502 error of Nginx Gap, how to implement automatic restart PHP-FPM?
Think of the solution
1. Execute shell script with crontab timer, reboot after error (timed execution every 5 seconds)2. Using the Nohup,shell script background
1, php--php 5.4 php-fpm restart, terminate Operation commandTo view the PHP run Directory command:which PHP/usr/bin/phpTo view the number of PHP-FPM processes:PS aux | Grep-c PHP-FPMView running Memory/usr/bin/php-i|grep Mem Restart
The Nginx and PHP on the server are compiled and installed by source code, unlike Ubuntu, which has its own service startup script, so it does not support similar previous nginx (Start|restart|stop|reload). Get plenty of hands on yourself. The
SendMail component not installed or started
Solutions
I am a novice, the command is not familiar, so write very detailed, the veteran don't spray OH
1. Reinstall the SendMail component, I use the CentOS, install with the following command
I. Introduction of RedisRedis is a key-value storage system. Similar to memcached, data is cached in memory in order to ensure efficiency. The difference is that Redis periodically writes the updated data to disk or writes the modified operation to
Operating system type: UbuntuSystem Environment Version: 4.4.0-122-genericIP Address: 192.168.152.118The first step: Select the appropriate operating system type and the version of the requirements, my side directly using the Lnmp script platform to
1. view the current php configuration information
Create the findini. php file in the root directory of the php project. The content is as follows:
Visit the page to see the following page:
Search for Loaded Configuration File to find out which
The Nginx and PHP on the server are both compiled and installed by source code. they do not have built-in service startup scripts like ubuntu, so they do not support nginx (start | restart | stop | reload. Self-help clothes and food. The following
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.