Linux/iodbc connection problems

From: Date: Thu, 16 Nov 2000 21:15:45 +0000
Subject: Linux/iodbc connection problems
Groups: php.install 
Request: Send a blank email to php-install+get-813@lists.php.net to get a copy of this message
I installed php3/iodbc/openlink-multi-tier-drivers on an apache webserver on SuSE Linux 6.4. Everything runs fine from the test programs 'odbctest' and 'udbctest'. I can query SQL-tables on a NT MSSQL7-Server. When I try to connect from a php3-script, I get this message: Warning: SQL error: [SOFTWARE AG][ODBCLIB A]Data source name not found and no default driver specified., SQL state IM002 in SQLConnect in /usr/web-hk/test/test2.php3 on line 31 can not connect to DSN: DSN=MSSQL7 I set all of the necessary variables with 'putenv()' and when I run a 'phpinfo()' in the same script, the environment variables are shown with their correct values. Can anybody tell me what´s wrong? Klaus Haberkorn hk@hknets.de

« previous php.install (#813) next »