Share Share on Facebook Share on Twitter Pinterest Email check your php version by running “php -v” (in our case its 7.4)Install mysql package according your php version “apt-get install php7.4-mysql”Restart apache server “sudo systemctl restart apache2” 0 Siddharth Shukla Website Related Posts How to install an SSL Certificate on Ubuntu June 3, 2021 How To Get PHP mail() Working On Ubuntu 20.04, 18.04 January 28, 2021 WordPress plugin install: Could not create directory January 13, 2021 Access PhpMyAdmin On Linux And MacOS January 12, 2021 Write A Comment Cancel Reply Save my name, email, and website in this browser for the next time I comment.