亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

在 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 關注
  • 150 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號