Apache HTTP server stopped working and was closed
Posted by: Terppa865 (---.suomi.net)
Date: August 10, 2009 11:28PM

Hello,

I have installed a new WampServer with these components:
Apache 2.2.11
PHP 5.3.0
MySQL 5.1.36

OS: Windows Vista

When I try to take MySQL connect by PHP, appears Pop-Up window ""Apache HTTP server stopped working and was closed" and connection restarts.

How could I get it to work?

Options: ReplyQuote
Re: Apache HTTP server stopped working and was closed
Posted by: toumimi (---.50.140-88.rev.gaoland.net)
Date: August 10, 2009 11:34PM

It is probably mysql_close function which does not contain the $link param.
It's a bug in php (corrected in svn).
See here fro more informations : http://bugs.php.net/bug.php?id=48754

Florian

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

Options: ReplyQuote
Re: Apache HTTP server stopped working and was closed
Posted by: Terppa865 (---.suomi.net)
Date: August 13, 2009 06:55AM

Thanks Florian.
I installed older PHP version (5.2.9). It works now.

Options: ReplyQuote
Re: Apache HTTP server stopped working and was closed
Posted by: toumimi (---.49.140-88.rev.gaoland.net)
Date: August 13, 2009 02:59PM

You can keep php5.3, but you must use the parameter into mysql_close function.

$link = mysql_connect(____);
mysql_close($link);

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.