I'm trying to install Omeka locally, on my Mac, and after I create a virtualhost, move the code in there, add a mysql database, set up db.ini and load up the site in the browser, I get this error:
Omeka Has Encountered an Error
No such file or directory
If I go directly to /install, I get this error:
Fatal error: Uncaught exception 'Zend_Db_Adapter_Mysqli_Exception' with message 'No such file or directory' in /Users/sandor/Sites/omeka/application/libraries/Zend/Db/Adapter/Mysqli.php:333 Stack trace: #0 /Users/sandor/Sites/omeka/application/libraries/Zend/Db/Adapter/Abstract.php(448): Zend_Db_Adapter_Mysqli->_connect() #1 /Users/sandor/Sites/omeka/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 /Users/sandor/Sites/omeka/application/libraries/Omeka/Db.php(74): call_user_func_array(Array, Array) #4 [internal function]: Omeka_Db->__call('fetchAll', Array) #5 /Users/sandor/Sites/omeka/install/models/Installer.php(318): Omeka_Db->fetchAll('SHOW TABLES LIK...') #6 /Users/sandor/Sites/omeka/install/controllers/IndexController.php(40): Installer::isInstalled(Object(Omeka_Db)) #7 /Users/sandor/Sites/omeka/application/libraries/Zend/Controller/Action.php(502): IndexController-> in /Users/sandor/Sites/omeka/application/libraries/Zend/Db/Adapter/Mysqli.php on line 333
I found this thread about the same topic, from a year go, but it's with a much older version of the software, so I don't know how relevant it is. I did notice at the end that dwoods solved his problem by rebuilding the server as 32-bit. I'm on a new MacBook Pro, and I'm guessing things are installed as 64-bit. Will I need to rebuild PHP as 32-bit in order to get Omeka working?
Thanks.

