PHP 4.0 Bug #4284 Updated: MSSQL functions don't work

From: Date: Tue, 05 Sep 2000 03:32:26 +0000
Subject: PHP 4.0 Bug #4284 Updated: MSSQL functions don't work
Groups: php.dev 
Request: Send a blank email to php-dev+get-32068@lists.php.net to get a copy of this message
ID: 4284 Updated by: sniper Reported By: cgi@harrison.org Status: Closed Bug Type: MSSQL related Assigned To: Comments: User feedback: ------------- I had MS-SQL 7 Desktop Edition running local on my Win98 machine. I beleive it installed all the SQL client files. Anyway, I'm doing my development in WinNT Workstation now so I can't verify very easily. BTW: The MS-SQL functions work great in WinNT. Its only Win98 that I'm having difficulties getting the php_mssql70.dll extension to load. (And no, its not as simple as correcting php_mssql.dll to php_mssql70.dll, etc., except partially for WinNT). ---- I'm closing this since you can not verify it. And as it is working within NT. (yet another windows-mystery? =) --Jani Previous Comments: [2000-09-04 22:49:32] cgi@harrison.org I had MS-SQL 7 Desktop Edition running local on my Win98 machine. I beleive it installed all the SQL client files. Anyway, I'm doing my development in WinNT Workstation now so I can't verify very easily. BTW: The MS-SQL functions work great in WinNT. Its only Win98 that I'm having difficulties getting the php_mssql70.dll extension to load. (And no, its not as simple as correcting php_mssql.dll to php_mssql70.dll, etc., except partially for WinNT). --------------------------------------------------------------------------- [2000-09-04 22:28:24] sniper@php.net Could the fix be as simple as renaming the php_mssql.dll in php.ini to php_mssql70.dll ?? --Jani --------------------------------------------------------------------------- [2000-08-31 11:10:47] fmk@php.net The error PHP Fatal error: Unable to load dynamic library './php_mssql.dll'<br> A device attached to the system is not functioning. in Unknown on line 0 has to do with missing DLL's. You have to install the MS SQL Server client tools on your Windows 98 maschine. You could try to copy ntwdblib.dll from an NT maschine. --------------------------------------------------------------------------- [2000-07-30 13:36:33] cgi@harrison.org umm, yeah. I figured out how to make the MSSQL Functions work just fine in Windows NT. But for the life of me I can't get PHP4 to use an extension like the php_mssql70.dll in Windows 98. I read the readme, I edited the php.ini I've copied all sorts of .dll(s) everywhere and then some all to no avail for Windows 98. --------------------------------------------------------------------------- [2000-07-30 13:36:24] cgi@harrison.org umm, yeah. I figured out how to make the MSSQL Functions work just fine in Windows NT. But for the life of me I can't get PHP4 to use an extension like the php_mssql70.dll in Windows 98. I read the readme, I edited the php.ini I've copied all sorts of .dll(s) everywhere and then some all to no avail for Windows 98. --------------------------------------------------------------------------- [2000-07-30 13:36:03] cgi@harrison.org umm, yeah. I figured out how to make the MSSQL Functions work just fine in Windows NT. But for the life of me I can't get PHP4 to use an extension like the php_mssql70.dll in Windows 98. I read the readme, I edited the php.ini I've copied all sorts of .dll(s) everywhere and then some all to no avail for Windows 98. --------------------------------------------------------------------------- [2000-07-29 16:40:56] stas@php.net You probably have some external error not connected to PHP. --------------------------------------------------------------------------- [2000-05-01 02:39:49] cgi@harrison.org I did, but PHP still reports errors. PHP Fatal error: Unable to load dynamic library './php_mssql.dll'<br> A device attached to the system is not functioning. in Unknown on line 0 --------------------------------------------------------------------------- [2000-04-30 14:39:24] sterling@cvs.php.net Try downloading the latest PHP4 dll's from download.swwwing.com and see how that works. --------------------------------------------------------------------------- [2000-04-30 11:36:56] cgi@harrison.org Trying to use any of the mssql_ functions will cause termination from the rest of the script. I am running Apache 1.3.12 on Windows 98 Second Edition. I have PHP4 RC1 and MS SQL 7. I have followed (as best as I can) the README and INSTALL documentation. I have a very simple .php script that makes a call to the mssql_connect function. I then print the value of the variable used to capture the status of the function. When I look at the source PHP has generated everything up the mssql_ function and nothing after. I can connect normally using the ODBC functions to the SQL database. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=4284

« previous php.dev (#32068) next »