ID:               44828
 Updated by:       [EMAIL PROTECTED]
 Reported By:      gerd at php-tools dot net
-Status:           Open
+Status:           Feedback
 Bug Type:         MSSQL related
 Operating System: Linux
 PHP Version:      5.2.5
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.3-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.3-win32-installer-latest.msi

Can you please try a 5.3 snapshot? I've just submitted the patch for
the new parameter parsing API for MSSQL that might resolve this.


Previous Comments:
------------------------------------------------------------------------

[2008-04-25 11:01:57] gerd at php-tools dot net

Description:
------------
Well, I do have the same problem as stated in Bug #29993 - still it is
not possible to add a comment to "bogus" bugs. 

Using a proper servername, username password, mssql_connect() returns
NULL. Hence I cannot connect.

In case anything is wrong e.g. the password, mssql_connect() returns
FALSE - as expected. 

OS: Linux 2.6.21
PHP-Version: 5.2.5

I installed the following Debian packages:
php5        5.2.5-3 server-side, HTML-embedded scripting language
php5-cli    5.2.5-3 cli for the php5 scripting language
php5-common 5.2.5-3 Common files for packages built from the php5
php5-mcrypt 5.2.5-3 MCrypt module for php5
php5-mhash  5.2.5-3 MHASH module for php5
php5-mysql  5.2.5-3 MySQL module for php5
php5-sybase 5.2.5-3 Sybase / MS SQL Server module for php5

regards, gERD


Reproduce code:
---------------
$dbc = mssql_connect('server', 'user', 'secret');
echo '<pre>' . var_export($dbc, true) . '</pre>';


Expected result:
----------------
$dbc!==null

Actual result:
--------------
$dbc===null


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=44828&edit=1

Reply via email to