Reputation:
Right now I was printing all of my data into a PDF using FPDF and those data contains pictures with a large image sizes. Then my the XAMPP promt like following text below. What is the following solution in order for me to proceed printing? Is their a solution without changing the images size?
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 50933016 bytes) in C:\xampp\htdocs\techgirl\reports\fpdf.php on line 1449
Even I tried to change the memory limit in my php.ini
into 900M nothing happen.
Upvotes: 4
Views: 31243
Reputation: 101
Change memory_limit to -1 in php.ini. i.e memory_limit=-1 You can find php.ini file in bin/php/
Upvotes: 2
Reputation: 7077
Change the memory_limit option in your php.ini to your needs.
Then Restart the Apache server from XAMPP
Upvotes: 3