PHP命令行是fpm吗,php-fpm命令的参数

这篇博客详细介绍了php-fpm命令的使用方法,包括如何查找php.ini文件、设置环境变量、查看模块信息、检查配置及运行测试。特别强调了如何通过参数指定配置文件路径、PID文件位置以及以守护进程模式运行。
摘要由CSDN通过智能技术生成

/usr/local/php/sbin/php-fpm –help

Usage: php-fpm [-n] [-e] [-h] [-i] [-m] [-v] [-t] [-p ] [-g ] [-c ] [-d foo[=bar]] [-y ] [-D] [-F]

-c | Look for php.ini file in this directory

-n No php.ini file will be used

-d foo[=bar] Define INI entry foo with value 'bar'

-e Generate extended information for debugger/profiler

-h This help

-i PHP information

-m Show compiled in modules

-v Version number

-p, –prefix

Specify alternative prefix path to FastCGI process manager (default: /usr/local).

-g, –pid

Specify the PID file location.

-y, –fpm-config

Specify alternative path to FastCGI process manager config file.

-t, –test Test FPM configuration and exit

-D, –daemonize force to run in background, and ignore daemonize option from config file

-F, –nodaemonize

force to stay in foreground, and ignore daemonize option from config file

-R, –allow-to-run-as-root

Allow pool to run as root (disabled by default)

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值