I spent the last couple of days trying to establish ODBC, and I'm going to lose my mind, I went out of my element. Please help me before you fall to pieces. Here is what I am trying:
1) Download 1.7.2 source code found here (I use 1.7.2): http://www.mamp.info/en/downloads/index.html
2) CD to php directory.
3) Run "/ configure --with-iodbc = shared"
4) Run "make"
5) Copy the file. /modules/odbc.so in MAMP / bin / PHP5 / lib / php / extensions / no-debug-non-zts-20050922
6) Add "extension = odbc.so" to php.ini
When I restart MAMP Pro, it does not appear in phpinfo (). Also, when I check the PHP log, I see:
"[16-Sep-2009 16:14:10] PHP Warning: starting PHP: invalid library (maybe not PHP library) 'odbc.so' in Unknown on line 0"
Any ideas?
source share