introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

apache plante : child process exited with status 3221225477



Posted by: flop25200
November 23, 2009 09:49PM
Bonjour,
suite à une mise à jour de easyphp depuis la version 3.0, je n'arrive pas à lancer le moindre SELECT mysql tout bête sans que apache plante avec cette erreur dans le log : child process exited with status 3221225477

Seule mon propre code plante mais une galerie automatisée en php que j'ai installé, ne plante pas elle -_-'
ça marchait avant, et en distant ça marche toujours !
voilà le code :
function flop_sql($requete)
{
mysql_connect("localhost", "planetef_flop25", "***");
mysql_select_db("planetef_flop25");
mysql_query("SET NAMES 'utf8'");
$reponse = mysql_query($requete) or die(mysql_error());
mysql_close();
return $reponse;
}

puis

$rep_new = flop_sql("SELECT * FROM a_news ORDER BY id DESC"); fait planter apache !
ya que une quinzaine d'enregistrements et phpmyadmin y arrive bien lui à tout afficher
Options: ReplyQuote
Posted by: Amour
November 23, 2009 09:57PM
Avec ce code, est-ce mieux ?

function flop_sql($requete)
{
$flux = mysql_connect("localhost", "planetef_flop25", "***");
mysql_select_db("planetef_flop25", $flux);
mysql_query("SET NAMES 'utf8'", $flux);
$reponse = mysql_query($requete, $flux) or die(mysql_error());
mysql_close($flux);
return $reponse;
}
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.