php - fgetcsv dies on live instance on dev not -- where to look -


i have identical live , dev instances on same server
(seperated fastcgi identical php.ini)

i run in script command
while (($data = fgetcsv($handle, 10000, ";")) !== false) {

on dev instance command runs without problems
44000 lines, uses 200mb of memory (of 512mb given)

on live instance runs line 28700
, crashes script without output
133mb of memory used

i put command in "try" no error thrown

where next

update
crashes without output (blank page)
execute http page
script stops when returning while statement (narrowed down writing file state)
it's dedicated server

update2 forgot php error log :/
-- according it, seems exhausted memory though it's weird ..

you check php error logs. depending on configuration php errors may show in web server logs or in dedicated php log file.

see http://www.php.net/manual/en/errorfunc.configuration.php#ini.error-log


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -