View Single Post
  #1 (permalink)  
Old 11-13-2007, 03:35 PM
Mordist Mordist is offline
Junior Member
 
Join Date: Nov 2007
Posts: 1
Default Zend_Db Crashing Apache

I have a VERY simple statement, that I am sure is returning results, but it's crashing Apache... it works fine on my dev box (Windows Vista running Xampp), but it crashes my demo box (running CentOS 4, Apache 2)...

SELECT * FROM tablea WHERE field1=<num> AND field2=<num>

That's it...

$stmt = $db->query($query);
$rows = $stmt->fetchAll();

It crashes on the "$stmt = $db->query($query);" line, every time.
Reply With Quote