PHP-FPM Startup under Nginx environment

Source: Internet
Author: User
Tags fpm

PHP-FPM Startup under Nginx environment

1. First check if the PHP-FPM is installed

I tried a lot of orders for this. Rpm-qa php-fpm, Rpm-ql php-fpm, which php-fpm, Whereis php-fpm, or no find-name php-fpm (Find in PHP's installation directory)

2. Before starting to copy a configuration file, the master configuration file and the PHP-FPM.D directory are copied, the last default is removed

Configure:

Vim php-= run/php-= www

(But if it starts, it will be an error)

ERROR: [Pool www] cannot get gid for group ' www ' may be no user assigned etc.

Solve:

OK, let's create a new WWW user group:

-G www www

Start again:

/usr/local/php/sbin/php-fpm

These two texts are very well written.

Reference: 78680717?locationnum=1&fps=1

https://www.zybuluo.com/phper/note/89081

PHP-FPM Startup under Nginx environment

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.