Syntax error in odbc.ini

199 views Asked by At

We're connecting to an old AS400 database through an iSeries linux driver. Everything works fine: we can connect and query the base with no problems, but we'd like to correct this error, as it fills the log file every time the script is run:

PHP:  syntax error, unexpected '(' in /etc/php.d/odbc.ini on line 14

The ini file is included in the script using:

putenv('ODBCSYSINI=/etc');  
putenv('ODBCINI=/etc/odbc.ini');

This is the line 14 of the odbc.ini:

DefaultPackage          = A/DEFAULT(IBM),2,0,1,0,512

Any help will be greatly appreciated.

0

There are 0 answers