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

设置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条)

报告相同问题?

悬赏问题

  • ¥50 树莓派安卓APK系统签名
  • ¥15 maple软件,用solve求反函数出现rootof,怎么办?
  • ¥65 汇编语言除法溢出问题
  • ¥15 Visual Studio问题
  • ¥20 求一个html代码,有偿
  • ¥100 关于使用MATLAB中copularnd函数的问题
  • ¥20 在虚拟机的pycharm上
  • ¥15 jupyterthemes 设置完毕后没有效果
  • ¥15 matlab图像高斯低通滤波
  • ¥15 针对曲面部件的制孔路径规划,大家有什么思路吗