Jump to content

PHP read file contents - Maximum file size


cksraj

Recommended Posts

Hi Team

 

I am trying to read a file contents (CSV file) size of 78MB using PHP. But my code is not working. It is breaking in the below line;

 

$fcontents = file($import->getCSVName());

 

But if I read other files which is of size 32MB then it is working fine.

 

How can I come out of this problem? Is there any limit for file size to read? If so what is the maximum size? Please advice.

 

Thanks,

Crew Kasy Raj

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.