久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      composer安裝yii失敗怎么辦

      composer安裝yii失敗怎么辦

      1、使用composer國(guó)區(qū)鏡像

      全局配置:

      composer config -g repo.packagist composer https://packagist.phpcomposer.com

      項(xiàng)目單獨(dú)配置:

      composer config repo.packagist composer https://packagist.phpcomposer.com

      推薦教程:yii框架

      2、刪除composer.json中默認(rèn)的倉(cāng)庫(kù)配置

      composer安裝yii失敗怎么辦

      3、解決bower依賴(lài)

      composer require yidas/yii2-bower-asset

      然后我們看到依賴(lài)開(kāi)始安裝, composer安裝失敗的主要原因是默認(rèn)的倉(cāng)庫(kù)訪問(wèn)很慢, 直接使用國(guó)區(qū)鏡像, 需要解決bower依賴(lài)。

      composer安裝yii失敗怎么辦

      4、修改bower配置: config/web.php, 將別名指向@vendor/yidas/yii2-bower-asset/bower

      composer安裝yii失敗怎么辦

      如果沒(méi)有配置密鑰,需要在config/web.php中加上一個(gè)密鑰

      'components' => [         'request' => [                     // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation             'cookieValidationKey' => 'your-key',         ],         ... ]

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)