安装报错,网页显示以下外星文

Fatal error: Uncaught think\exception\ErrorException: Method ReflectionParameter::getClass() is deprecated in /www/wwwroot/rhaphp/thinkphp/library/think/Container.php:467 Stack trace: #0 /www/wwwroot/rhaphp/thinkphp/library/think/Container.php(467): think\Error::appError() #1 /www/wwwroot/rhaphp/thinkphp/library/think/Container.php(437): think\Container->bindParams() #2 /www/wwwroot/rhaphp/thinkphp/library/think/Container.php(284): think\Container->invokeClass() #3 /www/wwwroot/rhaphp/thinkphp/library/think/Container.php(132): think\Container->make() #4 /www/wwwroot/rhaphp/thinkphp/library/think/exception/Handle.php(42): think\Container::get() #5 /www/wwwroot/rhaphp/thinkphp/library/think/Error.php(51): think\exception\Handle->report() #6 [internal function]: think\Error::appException() #7 {main} thrown in /www/wwwroot/rhaphp/thinkphp/library/think/Container.php on line 467

Fatal error: Uncaught think\exception\ErrorException: Method ReflectionParameter::getClass() is deprecated in /www/wwwroot/rhaphp/thinkphp/library/think/Container.php:467 Stack trace: #0 /www/wwwroot/rhaphp/thinkphp/library/think/Container.php(467): think\Error::appError() #1 /www/wwwroot/rhaphp/thinkphp/library/think/Container.php(437): think\Container->bindParams() #2 /www/wwwroot/rhaphp/thinkphp/library/think/Container.php(284): think\Container->invokeClass() #3 /www/wwwroot/rhaphp/thinkphp/library/think/Container.php(132): think\Container->make() #4 /www/wwwroot/rhaphp/thinkphp/library/think/exception/Handle.php(42): think\Container::get() #5 /www/wwwroot/rhaphp/thinkphp/library/think/Error.php(51): think\exception\Handle->report() #6 /www/wwwroot/rhaphp/thinkphp/library/think/Error.php(90): think\Error::appException() #7 [internal function]: think\Error::appShutdown() #8 {main} thrown in /www/wwwroot/rhaphp/thinkphp/library/think/Container.php on line 467
已邀请:

geeson

赞同来自:

这是英文来着呢,看上去是像PHP版本不符合报错,检查环境

sharapara

赞同来自:

php8.0
mysql5.7
nginx1.18

要回复问题请先登录注册