Solved :Moodle 4.2 installation on Ubuntu 22.04 - Error: database driver problem detected The site administrator should verify server configuration PHP has not been properly configured with the MySQLi extension for it to communicate with MySQL. Please check your php.ini file or recompile PHP.

Moodle 4.2 installation on Ubuntu 22.04 with php8.0. 

Error message  is because of the php extension. Make sure all the extensions are correctly installed:

Error: database driver problem detected 

The site administrator should verify server configuration PHP has not been properly configured with the MySQLi extension for it to communicate with MySQL. 

Please check your php.ini file or recompile PHP.


Solution :

#sudo apt install php8.0-mysql
# sudo service apache2 restart




Comments

Popular posts from this blog

(Solved) (Fixed )MariaDB Unmet Dependencies on Ubuntu 20.04.

Solution to Moodle Error: Coding error detected, it must be fixed by a programmer: Failed to unserialise data from file. Either failed to read, or failed to write.

ACTION_FAILED:OU_INVALID: Solution for GoogleApps bulk user upload issue, username@domainname.com:ACTION_FAILED:OU_INVALID. This error is because you have not specified the Org Unit Path properly.