PHP-FPM use

Source: Internet
Author: User

/USR/LOCAL/PHP/SBIN/PHP-FPM--help

- c <path>|<file> look for php.ini file in this directory specifies the php.ini configuration used

-y, --fpm-config <file> Specify alternative path to FastCGI Process Manager config file specifies php-fpm. Conf

- t,--test test FPM configuration and exit Check test php-fpm.conf file and exit

Sample detection configuration file (PHP-FPM)

/usr/local/php/sbin/php-fpm  -t /usr/local/php/sbin/php-fpm  -c /usr/local/php/etc/php .ini -y /usr/local/php/etc/php-fpm .conf -t Start PHP-FPM /usr/local/php/sbin/php-fpm   不指定的话找默认配置Or specify a configuration file /usr/local/php/sbin/php-fpm -c /usr/local/php/etc/php .ini -y /usr/local/php/etc/php-fpm .conf

#关闭php-FPM
Kill-int ' cat/usr/local/php/var/run/php-fpm.pid ' or Ps-ef|grep php-fpm find the process number
#重启php-FPM
KILL-USR2 ' Cat/usr/local/php/var/run/php-fpm.pid '

PHP-FPM use

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.