Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
debian_common [2019/04/22 15:29] โ [Basic commands 101] Jรบne Park | debian_common [2019/05/27 09:11] โ [Fetch error during update] Jรบne Park | ||
---|---|---|---|
Line 388: | Line 388: | ||
---- | ---- | ||
+ | ===== Upgrade php 7.x ===== | ||
+ | Append additional source for php7.x latest, | ||
+ | |||
+ | <code bash> | ||
+ | wget -q https:// | ||
+ | echo "deb https:// | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt-get update | ||
+ | </ | ||
+ | |||
+ | <code text> | ||
+ | Reading package lists... Done | ||
+ | E: The method driver / | ||
+ | N: Is the package apt-transport-https installed? | ||
+ | E: Failed to fetch https:// | ||
+ | E: Some index files failed to download. They have been ignored, or old ones used instead. | ||
+ | </ | ||
+ | |||
+ | When it comes to this errors, install additional packages for update, | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt-get install ca-certificates apt-transport-https | ||
+ | < | ||
+ | |||
+ | Install php with latest version | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt-get install php7.2 php7.2-cli php7.2-common php7.2-opcache php7.2-curl php7.2-mbstring php7.2-mysql php7.2-zip php7.2-xml | ||
+ | </ | ||
+ | |||
+ | To verify the installation is completed run the following command: | ||
+ | |||
+ | <code bash> | ||
+ | php -v | ||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
==== Basic commands 101 ==== | ==== Basic commands 101 ==== | ||