Quantcast
Channel: Installing and upgrading help
Viewing all articles
Browse latest Browse all 46779

Re: FreeTDS php_dblib.dll for PHP 5.5

$
0
0
by Miki Alliel.  

We used to connect  fine through external db with mssql in moodle 2.5

After upgrading php to  5.4.35 (in unix server) we can't connect the users from the external  db (as we used to) we get these errors:

Warning: mssql_connect(): Unable to connect to server: 217.194.204.133:1433 in ......../xxxxx/moodle/lib/adodb/drivers/adodb-mssql.inc.php on line 614
217.194.204.133:1433: Connection error to server 'OURSERVER-IP' with user 'OUR-USER'

(mssql): SELECT * FROM dbo.vMoodleUserData WHERE StudentCode = '246847' AND PasswordInt = '7097'  

Warning: mssql_query() expects parameter 2 to be resource, boolean given in /xxxxxx/moodle_emuna/lib/adodb/drivers/adodb-mssql.inc.php on line 830

Please Help me what can I do to fix this?

In our php erver (unix) we have freetds installed too and in the sql server 2005 (WINDOWS) we used to use the ntwdblib.dll ( I don't know if that has  something to do with that). Do we need to change or update a new driver in the SQL server so it will fit the php 5.4 version? 

What do we need to so exactly? and what is the freetds version in the php server that I need to set? Is it  7.0 , 8.0 or something else?

Hope someone can help me? sad


Viewing all articles
Browse latest Browse all 46779

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>