2021年9月22日 星期三

Upgrade PHP 7.1 to PHP 7.4 (32-bits Ubuntu)

Still using my eeebox b202 as web server, however, 32-bit architecture is not support all the way.

 

 

 1. Adding this 3rd party repository to your system:

sudo add-apt-repository ppa:jczaplicki/xenial-php74-temp
sudo apt-get update
sudo apt install -y php7.4 php7.4-cli php7.4-common php7.4-fpm
php7.4-mysqli php7.4-xml
 
(Ref: https://stackoverflow.com/questions/67920506/unable-to-install-php-7-4-on-ubuntu-16-04-even-with-ondrej-ppa-repository-in-apa)
 
2. sudo nano nginx.conf
 
3. sudo nano /etc/nginx/sites-available/default

Find out “`
location ~ .php$ {
....
fastcgi_pass unix:/run/php/php7.0-fpm.sock; —- Remove this line by commenting ’#’

fastcgi_pass unix:/run/php/php7.4-fpm.sock;
}


(Ref: https://www.digitalocean.com/community/questions/how-to-upgrade-php-7-0-33-to-7-4-7-on-ubuntu-16-04-nginx)

4. sudo nginx -t; sudo systemctl reload nginx  ;
 
 
 
 
 
phpmyadmin showed:
"
Composer detected issues in your platform:
Your Composer dependencies require the following PHP extensions to be installed: mysqli, xml"
Solved by:
1. sudo apt install php7.4-mysqli php7.4-xml
 
 
 
 

FireTV 安裝額外 APK

開啟 Developer Option Setting - My Fire TV - About 按七次「ok」 Delveloper Option - Allow Unknown Source 使用 https://aftv.news/ 製作縮短網址 會產生以編號代替網址 安裝...