当前位置:论坛首页 > Linux面板 > 求助

【已解答】php 日志错误

发表在 Linux面板6 天前 [复制链接] 1 57

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:v11.6.0

系统版本:alibaba3

问题描述:php7.2.33这种日志怎么避免不会在出现

相关截图(日志、错误):

[04-Apr-2026 01:30:02] NOTICE: Reloading in progress ...[04-Apr-2026 01:30:02] NOTICE: reloading: execvp("/www/server/php/72/sbin/php-fpm", {"/www/server/php/72/sbin/php-fpm", "--daemonize", "--fpm-config", "/www/server/php/72/etc/php-fpm.conf", "--pid", "/www/server/php/72/var/run/php-fpm.pid"})[04-Apr-2026 01:30:02] NOTICE: using inherited socket fd=8, "/tmp/php-cgi-72.sock"[04-Apr-2026 01:30:02] NOTICE: using inherited socket fd=8, "/tmp/php-cgi-72.sock"[04-Apr-2026 01:30:02] NOTICE: fpm is running, pid 2037850[04-Apr-2026 01:30:02] NOTICE: ready to handle connections
使用道具 举报 只看该作者 回复
发表于 5 天前 | 显示全部楼层
您好,这是您的php运行过程中出现了重启,或者重载,也有可能是当前的请求已经完成,这是正常的日志,不是错误日志,如果想调整日志级别,可以参考PHP日志级别进行修改
  1. ; Error Level Constants:
  2. ; E_ALL             - All errors and warnings
  3. ; E_ERROR           - fatal run-time errors
  4. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
  5. ; E_WARNING         - run-time warnings (non-fatal errors)
  6. ; E_PARSE           - compile-time parse errors
  7. ; E_NOTICE          - run-time notices (these are warnings which often result
  8. ;                     from a bug in your code, but it's possible that it was
  9. ;                     intentional (e.g., using an uninitialized variable and
  10. ;                     relying on the fact it is automatically initialized to an
  11. ;                     empty string)
  12. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
  13. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
  14. ;                     initial startup
  15. ; E_COMPILE_ERROR   - fatal compile-time errors
  16. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  17. ; E_USER_ERROR      - user-generated error message
  18. ; E_USER_WARNING    - user-generated warning message
  19. ; E_USER_NOTICE     - user-generated notice message
  20. ; E_DEPRECATED      - warn about code that will not work in future versions
  21. ;                     of PHP
  22. ; E_USER_DEPRECATED - user-generated deprecation warnings
  23. ;
  24. ; Common Values:
  25. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
  26. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
  27. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
  28. ; Default Value: E_ALL
  29. ; Development Value: E_ALL
  30. ; Production Value: E_ALL & ~E_DEPRECATED
  31. ; https://php.net/error-reporting
复制代码
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表