• <b id="l3qpx"><abbr id="l3qpx"></abbr></b>
  • <th id="l3qpx"><progress id="l3qpx"></progress></th>
      <th id="l3qpx"></th>
      <dd id="l3qpx"><font id="l3qpx"></font></dd>
      <th id="l3qpx"></th>
      0712-2888027 189-8648-0214
      微信公眾號(hào)

      孝感風(fēng)信網(wǎng)絡(luò)科技有限公司微信公眾號(hào)

      當(dāng)前位置:主頁(yè) > 技術(shù)支持 > PHP > Laravel 5.5升級(jí)到Laravel 5.7版本操作記錄

      Laravel 5.5升級(jí)到Laravel 5.7版本操作記錄

      時(shí)間:2018-12-06來(lái)源:風(fēng)信官網(wǎng) 點(diǎn)擊: 2826次
      此操作記錄基于Laravel 5.5升級(jí)到Laravel 5.7,我們需要修改composer.json文件,將:
       
      "laravel/framework": "5.5.*",
       
      修改為:
       
      "laravel/framework": "5.7.*",
       
      執(zhí)行命令:
       
      $ composer update
       
      出錯(cuò)小插曲:
       
      更新過(guò)程中報(bào)了以下錯(cuò)誤:
       
      In trustedproxy.php line 66:
       
      Undefined class constant 'HEADER_CLIENT_IP'
       
      Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
       
      檢查發(fā)現(xiàn)是fideloper/proxy依賴(lài)包版本過(guò)低導(dǎo)致,修改:
       
      "fideloper/proxy": "~3.3",
       
      為:
       
      "fideloper/proxy": "^4.0",
       
      錯(cuò)誤2:
       
       Class 'App\Providers\Schema' not found
       
      use Illuminate\Support\Facades\Schema;

      Laravel 5.5升級(jí)到Laravel 5.7版本操作記錄
       
      重新運(yùn)行更新命令,Laravel 5.7升級(jí)成功。
      熱門(mén)關(guān)鍵詞: Laravel 5.5 升級(jí) Laravel 5.7

      您可能感興趣的相關(guān)文章:

      欄目列表
      推薦內(nèi)容
      熱點(diǎn)內(nèi)容
      展開(kāi)
      欧美一区二区三区免费A级视频,亚洲精品中文字幕综合,动漫精品中文字幕无码第一页,1024亚洲国产综合 亚太影院 柯西贝尔-游戏赚网
    1. <b id="l3qpx"><abbr id="l3qpx"></abbr></b>
    2. <th id="l3qpx"><progress id="l3qpx"></progress></th>
        <th id="l3qpx"></th>
        <dd id="l3qpx"><font id="l3qpx"></font></dd>
        <th id="l3qpx"></th>