D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] php on linux, apache and getting odbs to work

 


Posted by "M Furborough" <matthewfurborough@xxxxxxxxxxxx>


Dear All,

Many thanks for your help, I have progressed a little from then. I am 
now getting the following error message:

[Mon Jul 30 14:18:17 2007] [error] [client 172.16.100.105] PHP 
Warning:  odbc_connect() [<a href='function.odbc-connect'>function.odbc-
connect</a>]: SQL error: [FreeTDS][SQL Server]Unable to connect to data 
source, SQL state S1000 in SQLConnect in /usr/local/httpd-2.2.4
/htdocs/benchmark/odbc_test.php on line 7
[Tue Jul 31 08:55:54 2007] [error] [client 172.16.100.105] PHP 
Warning:  odbc_connect() [<a href='function.odbc-connect'>function.odbc-
connect</a>]: SQL error: [FreeTDS][SQL Server]Unable to connect to data 
source, SQL state S1000 in SQLConnect in /usr/local/httpd-2.2.4
/htdocs/phptest.php on line 3
[Mon Jul 30 14:18:17 2007] [error] [client 172.16.100.105] PHP 
Warning:  odbc_connect() [<a href='function.odbc-connect'>function.odbc-
connect</a>]: SQL error: [FreeTDS][SQL Server]Unable to connect to data 
source, SQL state S1000 in SQLConnect in /usr/local/httpd-2.2.4
/htdocs/benchmark/odbc_test.php on line 7
[Tue Jul 31 08:55:54 2007] [error] [client 172.16.100.105] PHP 
Warning:  odbc_connect() [<a href='function.odbc-connect'>function.odbc-
connect</a>]: SQL error: [FreeTDS][SQL Server]Unable to connect to data 
source, SQL state S1000 in SQLConnect in /usr/local/httpd-2.2.4
/htdocs/phptest.php on line 3
I have looked on the web and the error message is produced by a number 
of reasons. I have tried to create the file db.inc and put it in the 
htdocs directory as suggested by Kevin but this doesn't seem to work.
Any ideas?

Matthew Furborough
--
++++++++++++++++++++++++++++++++

Generated by the contributors page 
in the members area at D+C GLUG
http://www.dcglug.org.uk/members/list.php
webmaster@xxxxxxxxxxxxx


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html