宝塔用户_zrawuc 发表于 2026-4-5 06:09:02

【已解答】php 日志错误

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:v11.6.0
系统版本:alibaba3
问题描述:php7.2.33这种日志怎么避免不会在出现
相关截图(日志、错误):
NOTICE: Reloading in progress ... 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"}) NOTICE: using inherited socket fd=8, "/tmp/php-cgi-72.sock" NOTICE: using inherited socket fd=8, "/tmp/php-cgi-72.sock" NOTICE: fpm is running, pid 2037850 NOTICE: ready to handle connections

大炮运维V587 发表于 2026-4-6 16:43:32

您好,这是您的php运行过程中出现了重启,或者重载,也有可能是当前的请求已经完成,这是正常的日志,不是错误日志,如果想调整日志级别,可以参考PHP日志级别进行修改
; Error Level Constants:
; E_ALL             - All errors and warnings
; E_ERROR         - fatal run-time errors
; E_RECOVERABLE_ERROR- almost fatal run-time errors
; E_WARNING         - run-time warnings (non-fatal errors)
; E_PARSE         - compile-time parse errors
; E_NOTICE          - run-time notices (these are warnings which often result
;                     from a bug in your code, but it's possible that it was
;                     intentional (e.g., using an uninitialized variable and
;                     relying on the fact it is automatically initialized to an
;                     empty string)
; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
;                     initial startup
; E_COMPILE_ERROR   - fatal compile-time errors
; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
; E_USER_ERROR      - user-generated error message
; E_USER_WARNING    - user-generated warning message
; E_USER_NOTICE   - user-generated notice message
; E_DEPRECATED      - warn about code that will not work in future versions
;                     of PHP
; E_USER_DEPRECATED - user-generated deprecation warnings
;
; Common Values:
;   E_ALL (Show all errors, warnings and notices including coding standards.)
;   E_ALL & ~E_NOTICE(Show all errors, except for notices)
;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR(Show only errors)
; Default Value: E_ALL
; Development Value: E_ALL
; Production Value: E_ALL & ~E_DEPRECATED
; https://php.net/error-reporting
页: [1]
查看完整版本: 【已解答】php 日志错误