php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4284 MSSQL functions don't work
Submitted: 2000-04-30 11:36 UTC Modified: 2000-09-04 23:32 UTC
From: cgi at harrison dot org Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.0 Release Candidate 1 OS: Windows 98 SE
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cgi at harrison dot org
New email:
PHP Version: OS:

 

 [2000-04-30 11:36 UTC] cgi at harrison dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-04-30 14:39 UTC] sterling at cvs dot php dot net
Try downloading the latest PHP4 dll's from download.swwwing.com and see how that works.
 [2000-05-01 02:39 UTC] cgi at harrison dot 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-07-29 16:40 UTC] stas@php.net
You probably have some external error not connected to PHP.
 [2000-07-30 13:36 UTC] cgi at harrison dot 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 UTC] cgi at harrison dot 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 UTC] cgi at harrison dot 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-08-31 11:10 UTC] 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-09-04 22:28 UTC] sniper@php.net
Could the fix be as simple as renaming the php_mssql.dll in php.ini
to php_mssql70.dll ??

--Jani
 [2000-09-04 22:49 UTC] cgi at harrison dot 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 23:32 UTC] sniper@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 07 14:01:28 2024 UTC