Installing 3.22.2 on OSX 10.5.7

Hello,


thought I’d try install Matrix on a 10.5.7 (not server)



First install MAMP which is

Apache 2.0.59

PHP 5.2.6



Then Installed Postgres from http://www.postgresqlformac.com/

Pgsql 8.4.0



Make sure I’ve got all the Pear modules updated and installed:

Installed packages, channel pear.php.net:

=========================================

Package Version State

Archive_Tar 1.3.3 stable

Console_Getopt 1.2.3 stable

DB 1.7.13 stable

HTTP_Client 1.2.1 stable

HTTP_Request 1.4.4 stable

Image_Canvas 0.3.1 alpha

Image_Color 1.0.3 stable

Image_Graph 0.7.2 alpha

MDB2 2.4.1 stable

MDB2_Driver_pgsql 1.4.1 stable

Mail 1.1.14 stable

Mail_Mime 1.5.2 stable

Mail_Queue 1.2.2 stable

Mail_mimeDecode 1.5.0 stable

Net_Socket 1.0.9 stable

Net_URL 1.0.15 stable

Numbers_Roman 1.0.2 stable

Numbers_Words 0.16.1 beta

PEAR 1.8.1 stable

Services_JSON 1.0.0 stable

Structures_Graph 1.0.2 stable

Text_Diff 1.1.0 stable

XML_HTMLSax 2.1.2 stable

XML_Parser 1.3.2 stable

XML_Util 1.2.1 stable



Start up MAMP and Postgres



Created the Matrix user and DB

Set the PLPGSQL



Run step 1

Edited the main.inc and db.inc



Run step 2 and error:


    Fatal error: Uncaught exception 'Exception' with message 'Could not create database connection: DBError!:could not find driver' in /Applications/MAMP/htdocs/mysource_matrix/core/include/mysource.inc:2637
    Stack trace:
    #0 /Applications/MAMP/htdocs/mysource_matrix/core/include/mysource.inc(211): MySource->changeDatabaseConnection('db')
    #1 /Applications/MAMP/htdocs/mysource_matrix/core/include/init.inc(233): MySource->init()
    #2 /Applications/MAMP/htdocs/mysource_matrix/install/step_02.php(57): require_once('/Applications/M...')
    #3 {main}
      thrown in /Applications/MAMP/htdocs/mysource_matrix/core/include/mysource.inc on line 2637


PHP is configured with pdo-pgsql=shared

Any ideas? :rolleyes:

UPDATE:
I've installed drupal on the same box so I know PHP and Postgres are happy together.

I have my website running Matrix on OSX. It is an older, 3.20.4 version, but it should still work the same. I had to compile php with pdo, as well as other things to get it working. Using MAMP did not work for me, nor finding any other .dmg php installs. You might want to try the same, as it is kind of tricky, and took me a long time. :slight_smile:


ok... may not bother then.