mysql_close caused wamp to crash
Posted by: Swedie (---.tbcn.telia.com)
Date: August 18, 2009 07:01AM

What's this issue I'm having? This error shows up nowhere in the logs.

I cannot have mysql_close in my php files running latest wampserver on a Windows Vista 64-bit machine.

I had to debug the code line by line until I found that any instance of mysql_close causes apache to crash.

Please help me out solving this.

//EDIT: Solved, mysql_close apparently REQUIRE correct link to the db connection.



Edited 1 time(s). Last edit at 08/18/2009 07:08AM by Swedie.

Options: ReplyQuote
Re: mysql_close caused wamp to crash
Posted by: toumimi (84.6.111.---)
Date: August 18, 2009 12:17PM

You are right.
It's a bug of PHP 5.3, so you must give the $link param.

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote


Sorry, only registered users may post in this forum.