From: lidiexy at fim dot uclv dot edu dot cu Operating system: WindowsXP Pro PHP version: 4.2.3 PHP Bug Type: MSSQL related Bug description: mssql_connect always returns 'Unable to connect to server'
When I try to run this script: <?php mssql_connect('mssql.localserver', 'myuser', 'mypass') or die('Nope'); ?> I always get a warning saying that it was unable to connect to server, and the Nope message. I also tested with my mssql IP instead of the dns. My web server: Apache 2.0 PHP Filter 4.2.3. WinXP Pro. My MSSQL 2000 over Windows 2000 Advanced Server. In the webserver I run the Query Analizer against my mssql and it works. The myuser user is a mssql's one. Any ideas? Lidiexy. -- Edit bug report at http://bugs.php.net/?id=22287&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22287&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22287&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22287&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22287&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22287&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22287&r=support Expected behavior: http://bugs.php.net/fix.php?id=22287&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22287&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22287&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22287&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22287&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22287&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22287&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22287&r=gnused