Installation error (Uncaught exception/MySQLi)

Hey,

Have been trying to install Omeka with no real success - already upgraded PHP to 5.3, still no success. http://server/omeka gives "Omeka encountered an error", http://server/omeka/install gives the following:

Fatal error: Uncaught exception 'Zend_Db_Adapter_Mysqli_Exception' with message 'The Mysqli extension is required for this adapter but the extension is not loaded' in /var/www/html/omeka-1.3.2/application/libraries/Zend/Db/Adapter/Mysqli.php:291 Stack trace: #0 /var/www/html/omeka-1.3.2/application/libraries/Zend/Db/Adapter/Abstract.php(448): Zend_Db_Adapter_Mysqli->_connect() #1 /var/www/html/omeka-1.3.2/application/libraries/Zend/Db/Adapter/Abstract.php(706): Zend_Db_Adapter_Abstract->query('SHOW TABLES LIK...', Array) #2 [internal function]: Zend_Db_Adapter_Abstract->fetchAll('SHOW TABLES LIK...') #3 /var/www/html/omeka-1.3.2/application/libraries/Omeka/Db.php(82): call_user_func_array(Array, Array) #4 /var/www/html/omeka-1.3.2/application/models/Installer/Default.php(125): Omeka_Db->__call('fetchAll', Array) #5 /var/www/html/omeka-1.3.2/application/models/Installer/Default.php(125): Omeka_Db->fetchAll('SHOW TABLES LIK...') #6 /var/www/html/omeka-1.3.2/install/controllers/IndexController.php(42): Installer_Default->isI in /var/www/html/omeka-1.3.2/application/libraries/Zend/Db/Adapter/Mysqli.php on line 291

If that means anything to anyone? AFAIK mysqli is available by default in PHP5.3. Any suggestions?

Cheers!

That error message, as you've guessed, is just telling you that you need to install the mysqli extension for PHP.

That extension is not included by default in PHP 5.3 or any other version. Depending on your server's distribution and package management system, you'll probably just need to install one more package.

For example, on Ubuntu I believe the name of the package you'd need is php5-mysqli.

Ahh! That's subtle, I misread that as mysql.

Here lies the other problem: I'm running RHEL5 - PHP5 is under php53-$foo, but there is no mysqli extension available. Any suggestions? (Quick googling failed me)

After some quick searching, I believe that the Red Hat package "php53-mysql" should contain both the mysql and mysqli extensions.

Yes, you're quite right! Upgraded and installed.

Next error was simply a typo for the DB server. >_<

Diolch yn fawr dude. :-)