
The PHPMyAdmin that is distributed by Ubuntu repos is incompatible with PHP 7.2+. This causes syntax errors with count()
, as well as some other calls. You can resolve this by installing the most recent release from the PHPMyAdmin PPA, which is the latest copy built and packaged from source.
Run the following commands to install the Ubuntu PPA:
add-apt-repository ppa:phpmyadmin/ppa
apt-get -y update
export DEBIAN_FRONTEND=noninteractive
Now you can install PHPMyAdmin:
apt-get -yq install phpmyadmin
Related Content
How to Install phpMyAdmin on Ubuntu 24.04
March 27, 2025
Article
Install and Secure phpMyAdmin with LAMP Stack on Ubuntu 20.04 LTS
January 23, 2025
Article
Using Apt Utilities On Ubuntu
November 21, 2023
Article
How to Install Multicraft on CentOS 7
November 21, 2023
Article
No comments yet.