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-fpmphp7.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