-1

I am having a php loop script, For sudden it gives me error "core dump!", then it stops. people advice me to increase the ulimit, so i just wonder, how to increaste the ulimit?

am getting:

   mzapc@mzabox ~/test

   $ ulimit -n
   256

   mzapc@mzabox ~/test
   $ ulimit -Hn
   3200

I've tried to do $ ulimit -s 2046, with failed attempt. nothing comes out still same response. any advice?, thank you.

shellter
  • 36,525
  • 7
  • 83
  • 90
mza box
  • 67
  • 1
  • 3
  • 12

1 Answers1

0

To debug a php script one way is to run

php -e <your-script>

http://linux.die.net/man/1/php

matzeri
  • 8,062
  • 2
  • 15
  • 16