Re: PHP Crash when use some mysql function



Xseven wrote:
Hi to all, today i have istalled PHP 5.2.10, Apache 2.2.11 and MySQL 5.1.36 on Windows2003. It's a tsting enviroment, but when i tried some line of code Apache crashed with this error in the event log of windows:

Faulting application httpd.exe, version 2.2.11.0, faulting module php5ts.dll, version 5.2.10.10, fault address 0x0000ac6a.

and the code executed is this:

<?php
$db_url = "127.0.0.1";
$db = "dbtest";
$db_user = "user";
$db_pass = "pass";
$connessione = mysql_connect("$db_url","$db_user","$db_pass");
$selezione_db = mysql_select_db("$db",$connessione) || die(mysql_error());
?>

Other line of code without mysql function works fine, i tried with IIS but the result is the same, iis crash.
Any suggestions? I don't know what to check anymore.. :(

Are you using the MySQL client library which comes with PHP?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.



Relevant Pages

  • Re: PHP Crash when use some mysql function
    ... It's a tsting enviroment, but when i tried some line of code Apache crashed with this error in the event log of windows: ... Faulting application httpd.exe, version 2.2.11.0, faulting module php5ts.dll, version 5.2.10.10, fault address 0x0000ac6a. ... Other line of code without mysql function works fine, i tried with IIS but the result is the same, iis crash. ...
    (comp.lang.php)
  • Re: PHP Crash when use some mysql function
    ... some line of code Apache crashed with this error in the event log of ... Faulting application httpd.exe, version 2.2.11.0, faulting module ... IIS but the result is the same, iis crash. ... Are you using the MySQL client library which comes with PHP? ...
    (comp.lang.php)
  • Problem w/ CLR error
    ... a pop-up window, and inside the window and in the event log is the ... I also get another error in the event log: ... Faulting application RATApp.exe, version 1.0.0.0, faulting module ... client, they both crash at the same time. ...
    (microsoft.public.dotnet.framework.clr)
  • Office 2003 killed (Exchange 5.5) Calendar?
    ... Calendar the Outlook application crashes! ... The only information I have is in the event log (Source: ... stamp 408f2937, faulting module outllib.dll, version 11.0.6359.0, stamp ...
    (microsoft.public.exchange.admin)
  • Office 2003 killed (Exchange 5.5) Calendar?
    ... Calendar the Outlook application crashes! ... The only information I have is in the event log (Source: ... stamp 408f2937, faulting module outllib.dll, version 11.0.6359.0, stamp ...
    (microsoft.public.exchange.clients)