I'm getting the following error:
Warning: odbc_connect(): SQL error: [unixODBC][Driver Manager]Data source name not found, and no default driver specified, SQL state IM002 in SQLConnect in /home/virtual/site1/fst/var/www/database_sybase.php on line 23
The database server is up and running i can ping it.
I used to be able to connect to the database via php, but it has stopped working
In PHP i set the env variable ODBCINI to /home/.odbc.ini and that used to work. Now it seems it's not seeing the ini file.
I'm used to using the built in sybase driver manager, is there another location where unixODBC information should be stored? and are there other env variables I need to set for unixODBC.