phpMyAdmin fixes
Cookies, secrets, storage tables, imports and login screens that will not let you in.

Install phpMyAdmin on Ubuntu with nginx and PHP-FPM, the manual way
Download and verify the archive, unpack it outside the web root, write a server block with a PHP location, add config.inc.php and lock the address down.
The uploaded file exceeds the upload_max_filesize directive in php.ini: fix
Set upload_max_filesize, a larger post_max_size and the web server's body limit, then restart PHP-FPM. The full chain, with a script that shows what applies.
localhost/phpmyadmin does not open: the checks in order
If localhost/phpmyadmin does not open, check the port, the alias, PHP and then MySQL, in that order. The login is a MySQL account, not a phpMyAdmin one.
PHPSolvedThe fix first, then the reason