freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] Connecting MSSQL Server from Red Hat linux + PHP
- From: "Arnar Birgisson" <ArnarB AT oddi.is>
- To: <mlmsrini AT lycos.com>
- Cc: freetds AT lists.ibiblio.org
- Subject: Re: [freetds] Connecting MSSQL Server from Red Hat linux + PHP
- Date: Wed, 02 Jul 2003 15:13:36 +0000
Hi
I'm sorry I didn't ask before, but php 4.0.3pl1 is quite old by now and
probably doesn't contain ms-dblib style support for FreeTDS. You need to
upgrade to 4.3.2RC1 or newer.
Arnar
>>> "Venkatraman M Srinivasan" <mlmsrini AT lycos.com> 2.7.2003 14:10:44
>>>
Hi
i build php again like this.
(Here the version i am using is php4.0.3pl1. when i first install i
build php --with-apache=/usr/local/apache_1.3.12.)
make clean
./configure --with-apache=/usr/local/apache_1.3.12
--with-mysql=/usr/local/mysql --with-mssql=/usr/local/freetds
--enable-memory-limit=yes --enable-track-vars
make
make install
cp php.ini-dist /usr/local/lib/php.ini
restarted apache.
But phpinfo is still describing the same old value. ie
'./configure --with-apache=/usr/local/apache_1.3.12
--with-mysql=/usr/local/mysql --enable-memory-limit=yes
--enable-track-vars'
Still i am getting the same error 'Fatal error: Call to undefined
function: mssql_connect() in /home/httpd/test/test.php on line 4'.
As you mentioned i 've got two freetds.conf files.one is in
/usr/local/freetds folder and the other one is in /usr/local/etc. In
both the files
i 've mentioned the IP address inside host since i don't know which one
to use.
[MyServer70]
host = 192.168.4.45 // MSSQL Server IP address
port = 1433
tds version = 7.0.
Here i would like to ask you a question about the interfaces file.In
which case it is used.
Also i tried to execute the script in command line.
php /home/httpd/test/test.php
...but i am getting 'command not found'.
still things are not working for me..immm.
your suggestions?
Thanks
svan
____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005
-
Re: [freetds] Connecting MSSQL Server from Red Hat linux + PHP,
Arnar Birgisson, 07/01/2003
- <Possible follow-up(s)>
- Re: [freetds] Connecting MSSQL Server from Red Hat linux + PHP, Venkatraman M Srinivasan, 07/01/2003
- Re: [freetds] Connecting MSSQL Server from Red Hat linux + PHP, Arnar Birgisson, 07/01/2003
-
Re: [freetds] Connecting MSSQL Server from Red Hat linux + PHP,
Venkatraman M Srinivasan, 07/02/2003
- Re: [freetds] Connecting MSSQL Server from Red Hat linux + PHP, David Busby, 07/02/2003
- Re: [freetds] Connecting MSSQL Server from Red Hat linux + PHP, Arnar Birgisson, 07/03/2003
- Re: [freetds] Connecting MSSQL Server from Red Hat linux + PHP, Arnar Birgisson, 07/03/2003
- Re: [freetds] Connecting MSSQL Server from Red Hat linux + PHP, Venkatraman M Srinivasan, 07/03/2003
Archive powered by MHonArc 2.6.24.