Installation error on ubuntu server

Installation error on ubuntu server

by roc mehra -
Number of replies: 2

Hi,

I am using moodle 2.2 using ubuntu 12.10 production server and getting error while giving priviliges to db user and while installing

Error: database driver problem detected

The site administrator should verify server configuration

PHP has not been properly configured with the MySQLi extension so that it can communicate with MySQL. Please check your php.ini file or recompile PHP. MySQLi extension is not available for PHP 4.

Average of ratings: -
In reply to roc mehra

Re: Installation error on ubuntu server

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Moodle doesn't work at all in PHP4.

If this is standard Ubuntu and you are using built-in Apache, PHP etc. (it would be helpful if you told us that), then you probably just missed

sudo apt-get install php5-mysql

In reply to roc mehra

Re: Installation error on ubuntu server

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Ubuntu 12.10 should not have any confusion with Moodle 2.2. I have tested 12.04 LTS for all the
current/last realeses between 1.6 and 2.4: http://docs.moodle.org/22/en/Installing_Moodle_on_Debian_based_distributions.

Post the output of
/usr/bin/apache2 -v
/usr/bin/php5 --version
 and PHP version according to <?php phpinfo(); ?>.