[FX.php List] [OFF] MPDF geeking after a server config file rebuild

Bob Patin bob at patin.com
Wed Dec 4 14:03:03 MST 2013


Memory did it!

Thanks, Dale!

BP

Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
FileMaker 9, 10, 11 & 12 Certified Developer
http://www.longtermsolutions.com
-
iChat: bobpatin at me.com
Twitter: bobpatin
—
FileMaker Consulting 
FileMaker Hosting for all versions of FileMaker
PHP • Full email services • Free DNS hosting • Colocation • Consulting

On Dec 4, 2013, at 3:00 PM, Dale Bengston <dale.bengston at gmail.com> wrote:

> Hey Bob,
> 
> You can up the memory in the script itself. Add to the top of your PDF-making script:
> 
> 	ini_set('memory_limit’,’64M');
> 
> …replace 64 with your desired memory amount.
> 
> There is also an entry for memory_limit in php.ini if you want to give PHP more memory all the time.
> 
> Dale
> 
> PS To shortcut doing a CD in Terminal, type CD and then drag/drop the folder on your terminal window.
> 
> On Dec 4, 2013, at 2:53 PM, Bob Patin <bob at patin.com> wrote:
> 
>> Hey Dale,
>> 
>> Good thought; do you recall offhand what the memory setting is called? I can get to php.ini in the Finder so I think I’ll just modify it there.
>> 
>> Is restarting web good enough for picking up PHP changes?
>> 
>> Thanks,
>> 
>> Bp
>> 
>> Bob Patin
>> Longterm Solutions
>> bob at longtermsolutions.com
>> 615-333-6858
>> FileMaker 9, 10, 11 & 12 Certified Developer
>> http://www.longtermsolutions.com
>> -
>> iChat: bobpatin at me.com
>> Twitter: bobpatin
>>>> FileMaker Consulting 
>> FileMaker Hosting for all versions of FileMaker
>> PHP • Full email services • Free DNS hosting • Colocation • Consulting
>> 
>> On Dec 4, 2013, at 2:37 PM, Dale Bengston <dale.bengston at gmail.com> wrote:
>> 
>>> Hi Bob,
>>> 
>>> Perhaps PHP's memory allocation got reset to default? Making PDFs uses a lot of memory.
>>> 
>>> Hope this helps,
>>> Dale
>> 
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20131204/2e343fcc/attachment.html


More information about the FX.php_List mailing list