binaryage / binaryage/firelogger.php

PHP Fatal error: Interface 'Psr\\Log\\LoggerInterface'

未关闭
#21 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
PHP
星标
68
派生
16
PR 合并指标
30 天内没有已合并 PR

描述

One of our developers is using firelogger and developed issues with this on our linux server

I downloaded your current package and placed it on the webserver and got the following message in the apache logs when i ran basic.php (also had to copy FireLogger.php to firelogger.php):

PHP Fatal error: Interface 'Psr\Log\LoggerInterface' not found in /var/www/html/firelogger.php-master/firelogger.php on line 36

I am using Centos 7 and php version 5.4.16. Is there something I need to add to my php implementation to make this work?

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先在报告的 PHP 5.4.16 上复现 basic.php 的失败,并检查第 36 行附近的 firelogger.php。检查 package 如何提供或加载 Psr\Log\LoggerInterface;完成的标准是 basic.php 在报告的环境中运行时不会出现致命错误,并且所需的设置已记录或验证。

由索引模型根据 Issue 内容生成。

评估

技术栈
php
领域
backend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。