为了账号安全,请及时绑定邮箱和手机立即绑定

在 smarterasp.net 主机上上传 Laravel 网站

在 smarterasp.net 主机上上传 Laravel 网站

PHP
月关宝盒 2022-06-17 17:18:42
将laravel项目上传到托管显示登录界面正确但是当您输入用户名和密码并单击登录时,出现如下错误。版本 laravel:6.0错误是:Process 类依赖于 proc_open,它在您的 PHP 安装中不可用。(1/1) LogicExceptionThe Process class relies on proc_open, which is not available on your PHP installation.in Process.php line 143at Process->__construct(array(), 'H:\\root\\home\\alwheeb-001\\www\\site1\\myeasiestexchange', null, null, 60.0)in Process.php line 195at Process::fromShellCommandline('git log --pretty=format:\'%H\' -n 1', 'H:\\root\\home\\alwheeb-001\\www\\site1\\myeasiestexchange')in AddGitInformation.php line 51at AddGitInformation->command('git log --pretty=format:\'%H\' -n 1')in AddGitInformation.php line 25at AddGitInformation->hash()in AddGitInformation.php line 13at AddGitInformation->handle(object(Report), object(Closure))in Pipeline.php line 171at Pipeline->Illuminate\Pipeline\{closure}(object(Report))in AddSolutions.php line 28at AddSolutions->handle(object(Report), object(Closure))in Pipeline.php line 171at Pipeline->Illuminate\Pipeline\{closure}(object(Report))in AddQueries.php line 22at AddQueries->handle(object(Report), object(Closure))in Pipeline.php line 171at Pipeline->Illuminate\Pipeline\{closure}(object(Report))in AddDumps.php line 22at AddDumps->handle(object(Report), object(Closure))in Pipeline.php line 171at Pipeline->Illuminate\Pipeline\{closure}(object(Report))in AddLogs.php line 22at AddLogs->handle(object(Report), object(Closure))in Pipeline.php line 171at Pipeline->Illuminate\Pipeline\{closure}(object(Report))in AddEnvironmentInformation.php line 20at AddEnvironmentInformation->handle(object(Report), object(Closure))in Pipeline.php line 171at Pipeline->Illuminate\Pipeline\{closure}(object(Report))in SetNotifierName.php line 15at SetNotifierName->handle(object(Report), object(Closure))in Pipeline.php line 171at Pipeline->Illuminate\Pipeline\{closure}(object(Report))in AnonymizeIp.php line 17at AnonymizeIp->handle(object(Report), object(Closure))我怎么解决这个问题?托管是否支持 laravel 项目?
查看完整描述

1 回答

?
慕森王

TA贡献1777条经验 获得超3个赞

这是因为在调试模式下启用了 Flare 错误报告服务有一个解决方法。


发布耀斑配置文件 php artisan vendor:publish --tag=flare-config


并在 config/flare.php



'collect_git_information' => false


'reporting' => [

    'anonymize_ips' => true,

    'collect_git_information' => false,

    'report_queries' => true,

    'maximum_number_of_collected_queries' => 200,

    'report_query_bindings' => true,

    'report_view_data' => true,

],


查看完整回答
反对 回复 2022-06-17
  • 1 回答
  • 0 关注
  • 125 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信