apache and PHP / Eclipse
| From: | Eduardo Vizcarra | Date: | Sat, 13 Dec 2008 23:38:54 +0000 |
| Subject: | apache and PHP / Eclipse | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-284597@lists.php.net to get a copy of this message | ||
I am having a hard time trying to get some pages work. I have PHP 5.2.8, Apache 2.2 and MySQL 5.1 running in a Windows Vista home edition. All packages were installed, and configured, the strange thing is that pages commonly work but when I add a new line (e.g. an echo line) with a dummy text, Apache crashes and it is restarted
I am using Eclipese europa to create the code
e.g. I have this code and the page works:
include 'upper_pagina.php';
include 'forma.php';
$link = mysql_connect("127.0.0.1","root","root");
if (!$link)
{
echo "<table width='100%' border='0' cellspacing='0' cellpadding='5' bordercolor='FFFFFF'>\n";
echo "<tr>\n";
echo "<td bgcolor='FF9327'>\n";
echo "<b>La Base de datos no esta disponible en este momento.<BR>";
echo "Disculpe las molestias, intente mas tarde</b>";
echo "</td>\n";
echo "</tr>\n";
echo "</table>\n";
}
mysql_select_db("estoydevacacionesdb") or die("No pudo seleccionarse la BD.");
$busquedasql1 = "select * from servicios";
include 'bottom_pagina.php';
but if I add a new line ($servicios1 = mysql_query($busquedasql1);) before the last include line, apache crashes, it has been very hard for me to identify what it is causing this problem
any clue ?
Regards
Eduardo