apache and PHP / Eclipse

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux