Hi I do have a PHP script which reads text file. when text file size is above the certain limit script gives error and stops. when I divide files into two it works. so where is that settings in PHP to increase read file memory?
The setting is memory_limit
and you can change it in the php.ini file for all scripts, or (better) just change it in the code for the one script that is causing you problems:
ini_set('memory_limit', '64M');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With