memory - PHP (or MySQL) crash when retrieving a big database record (~5MB) -


it doesnt display errors, blank page. tried die('test') before call function retrieve record , it, when place die('test') after retrieve row function empty page (on chrome says this: error 324 (net::err_empty_response): server closed connection without sending data.)

.. have tried (with 128m, -1, 64m, etc)

ini_set('memory_limit', -1); 

with no luck. using mysqli retrieve record , simple query 'select data tblbackup' (only 1 record in database)

any help?

thanks in advance

update: tailed apache error log , when trying load page,

[thu jun 30 13:47:37 2011] [notice] child pid 25405 exit signal segmentation fault (11) 

checkout php.ini variables execution time. sounds php might timing out.

max_execution_time =3000 max_input_time = 6000 

also, may have done @ .ini level, can add php error. put these @ top of file:

error_reporting(e_all); ini_set('display_errors', '1'); 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -