laynefyc / php-monitor

A free, flexible, powerful tool that helps you monitor PHP Service and profiling PHP code.
231 stars 31 forks source link

php5.6环境下登陆报错 #10

Closed 120318 closed 4 years ago

120318 commented 4 years ago
/?r=login/account - Default value for parameters with a class type hint can only be NULL in /tmp/php-monitor/vendor/phpunit/phpunit/src/Framework/Assert/Functions.php on line 79

image

120318 commented 4 years ago

能否提供一份php5.6版本的composer.json

laynefyc commented 4 years ago
    "illuminate/database": "~5.8",
    "jenssegers/mongodb": "^3.5",
    "illuminate/pagination": "^5.8"  

只依赖这三个composer包,三个包都有对应的文档和php版本,改下版本号即可。

120318 commented 4 years ago

嗯,修改后确实可以成功呢,但实际上的情况是,在php5.6环境下,三种存储都存在问题,而且都无法使用,感觉是没有在php5.6版本测试过。

laynefyc commented 4 years ago

@dearjoey 贴一下报错信息吧,php5.6三种存储方式都是测试过的。

120318 commented 4 years ago

抱歉,没有现场了,已经改用xhgui了:>