This question already has an answer here:
I have a file with around 269 thousand lines. The size of the file is around 500MB. I want to read the file on localhost but it says the memory is not enough. Then i try to run it in my web server, but when i run my program it didn't display anything, then my browser crashed. Can anyone help me?
</div>
use for unlimited memory limit
ini_set('memory_limit', '-1');