Subject
- Posted on
PHP Crash when use some mysql function
- 07-21-2009
July 21, 2009, 9:53 am
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.. :(
Re: PHP Crash when use some mysql function
That still doesn't answer the question. PHP comes with a mysql client
DLL, but so does MySQL. You need to ensure you are using the one which
comes with PHP.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Site Timeline
- » please help me with your vote
- — Next thread in » PHP Scripting Forum
-

- » Earn $ 50 Per Hour With CJ's Affiliate Programe
- — Previous thread in » PHP Scripting Forum
-

- » table appears with empty rows, and row data appears before table. Code seems ok. What is g...
- — Newest thread in » PHP Scripting Forum
-

- » update mysql without manually tying SET statements
- — Last Updated thread in » PHP Scripting Forum
-

- » video sizing problem
- — The site's Newest Thread. Posted in » HTML Markup Language
-

- » Link To .MJPG Stream: Different Browsers/Different Results
- — The site's Last Updated Thread. Posted in » HTML Markup Language
-




