#43303 [Fbk->Opn]: IIS7 - function mysql_connect() PHP has encountered an Access Violation at
| From: | fcuadrado at estudioquadra dot com | Date: | Fri, 16 Nov 2007 03:01:21 +0000 |
| Subject: | #43303 [Fbk->Opn]: IIS7 - function mysql_connect() PHP has encountered an Access Violation at | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-119714@lists.php.net to get a copy of this message | ||
ID: 43303
User updated by: fcuadrado at estudioquadra dot com
Reported By: fcuadrado at estudioquadra dot com
-Status: Feedback
+Status: Open
Bug Type: Reproducible crash
Operating System: Windows Vista (Windows 6.0.6000)
PHP Version: 5.2.5
New Comment:
Well, I can't get the debbug trace because when I execute the crass.php
script from the cmd (shell) php don't crash. Works fine.
When I go to browser and execute the same code, process "php.exe" don't
show in the "process view" and I can't create a rule on Dbgsvc.
- What process I need to follow in order to find the crash?
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2007-11-15 22:49:32] jani@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2007-11-15 04:31:55] fcuadrado at estudioquadra dot com
Description:
------------
I Have this error when I try to connect with MySQL (v.5.1) (php 5.2,
IIS 7, Windows Vista)
PHP has encountered an Access Violation at 038FAB4A
Obviusly, I don't think that this number means something. It's a very
original mem address, I can't find it in Google-yahoo. =)
Here the code to reproduce this error:
===========
<?
$link = mysql_connect('localhost', 'root', 'password');
?>
===========
Important: Recently I uninstall MySQL Server, and I get the same
error.
Reproduce code:
---------------
===========
<?
$link = mysql_connect('localhost', 'root', 'password');
?>
===========
Expected result:
----------------
Connect to mysql.
Actual result:
--------------
Only: "PHP has encountered an Access Violation at 038FAB4A"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43303&edit=1