>PHP memory_limit directive in php.ini too low?

software development

#1

Hi,

I wrote a script that accepts file uploads and then does a load data infile to rapidly put the text file into a mySQL table. The script runs great with small files, but fails with large files. (My upload form’s hidden max_file_size field is not the problem, I set it huge to rule that out. Also, my time out limit is set to (0)).

I read that the memory_limit directive in the php.ini file may have to be set to a larger value to rectify this. Any thoughts?

thanks in advance,

Barry