dtcaw02086 2016-02-27 09:24
浏览 931
已采纳

设置php-fpm默认配置文件位置

I've built from source php + php-fpm + nginx few times.

I'm used to keep everything inside /usr/local

Hovewer php-fpm config file php-fpm.conf is always loaded from /etc/

Of course I can change the location with the -y directive when php-fpm is started but I'd prefer to have a different location by default.

Is there any way to do this?

Does the default location depends upon a directive set when running ./config before the actual build?

  • 写回答

3条回答 默认 最新

  • dongzan7016 2016-02-27 20:49
    关注

    Performing a multi-file search on PHP's sources and build files reveals that

    php-fpm.conf location is determined by the compile-time option

    --sysconfdir=/path/to
    

    specified when invoking ./configure

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 宇视监控服务器无法登录
  • ¥15 PADS Logic 原理图
  • ¥15 PADS Logic 图标
  • ¥15 电脑和power bi环境都是英文如何将日期层次结构转换成英文
  • ¥15 DruidDataSource一直closing
  • ¥20 气象站点数据求取中~
  • ¥15 如何获取APP内弹出的网址链接
  • ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了
  • ¥50 STM32单片机传感器读取错误
  • ¥50 power BI 从Mysql服务器导入数据,但连接进去后显示表无数据