Homesteadは他のPHPバージョンをインストールします
1165 ワード
実行環境:
システム:win 10
ソフトウェア: virtualbox 6.2 vagrant 2.2.4 homestead 7.1.0
インストール中に表示される
これはダウンロードタイムアウトによるもので、実行を続行します.
再試行してphp 5.6をインストールする
最後にコマンドを実行し、nginxとphp 5を再起動する.6-fpm
Reference How to update PHP version in homestead Cannot add PPA: 'ppa:ondrej/php5-5.6'
転載先:https://www.cnblogs.com/fsong/p/11335342.html
システム:win 10
ソフトウェア:
sudo apt-get update
sudo apt-get -y install php5.6-mysql php5.6-fpm php5.6-mbstring php5.6-xml php5.6-curl
インストール中に表示される
Fetched 3,466 kB in 6min 24s (9,022 B/s)
E: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/pool/main/p/php5.6/php5.6-common_5.6.40-8+ubuntu18.04.1+deb.sury.org+1_amd64.deb Connection timed out [IP: 91.189.95.83 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
これはダウンロードタイムアウトによるもので、実行を続行します.
sudo apt-get -y install php5.6-mysql php5.6-fpm php5.6-mbstring php5.6-xml php5.6-curl
再試行してphp 5.6をインストールする
最後にコマンドを実行し、nginxとphp 5を再起動する.6-fpm
/etc/init.d/nginx restart
/etc/init.d/php5.6-fpm restart
Reference
転載先:https://www.cnblogs.com/fsong/p/11335342.html