php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #938 PHP crashes on mSQL query
Submitted: 1998-11-21 11:32 UTC Modified: 1998-11-21 12:11 UTC
From: webmeister at cyber-wizard dot com Assigned:
Status: Closed Package: mSQL related
PHP Version: 3.0.5 OS: Win95
Private report: No CVE-ID: None
 [1998-11-21 11:32 UTC] webmeister at cyber-wizard dot com
When making queries to a local mSQL 2 database using PHP 3.0.5 under Apache 1.3.x (have tried with multiple releases), PHP gives the following illegal operation:

PHP caused an invalid page fault in
module <unknown> at 0000:01272611.
Registers:
EAX=00000001 CS=014f EIP=01272611 EFLGS=00010202
EBX=00000000 SS=0157 ESP=006afda8 EBP=00000000
ECX=00000041 DS=0157 ESI=00432577 FS=4ebf
EDX=01470944 ES=0157 EDI=0047a420 GS=0000
Bytes at CS:EIP:
32 00 10 00 00 00 00 01 00 00 00 01 00 00 00 00 
Stack dump:
00432577 00000000 00000000 00000001 00425b8a 0047a420 0042e0d0 006af9a8 0042f7ac 00000000 816f5d8c 816f67a0 006afe38 005a0000 00000000 00000001 

It does the same thing when run from the command line.

The file I'm using is the only the following:
<?
echo "Welcome to Ted's Computer!";
$request = msql("mgifts","select * from depts");
if ($request>0) { echo msql_numrows($request); }
?>

Any clue?  Thanks!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-11-21 12:11 UTC] zeev
mSQL isn't supported under Win32.  For that reason, neither
is its PHP module.
mSQL will be supported under Win32 when Hughes releases an
official Win32 build and an API - but I'm pretty doubtful
it'd happen.

If you're just starting off, you'd be much better off
starting with MySQL, which is supported under Win32, apart
from being better by several orders of magnitude than mSQL.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC