【问题标题】:nginx: [emerg] open() "/www/server/nginx/conf/enable-php.conf" failednginx: [emerg] open() \"/www/server/nginx/conf/enable-php.conf\" 失败
【发布时间】:2023-02-01 00:58:33
【问题描述】:

错误:在配置文件中检测到错误。请在继续之前解决它

nginx: [emerg] open() "/www/server/nginx/conf/enable-php.conf" 在 /www/server/nginx/conf/nginx.conf:68 中失败(2:没有这样的文件或目录) nginx: 配置文件/www/server/nginx/conf/nginx.conf 测试失败

AAPanel 与 Apache

添加新站点时出现此错误

【问题讨论】:

    标签: php apache nginx


    【解决方案1】:

    只需运行此命令并重试:

    touch /www/server/nginx/conf/enable-php.conf

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-12-17
      • 2021-07-18
      • 2021-01-31
      • 2011-07-15
      • 1970-01-01
      • 2017-07-24
      • 1970-01-01
      • 2022-01-23
      相关资源
      最近更新 更多