Current results of "dictionary word count" programs...

Tyler Strickland tyler at tylers.org
Mon Mar 13 15:44:41 MST 2006


On 03/13/2006 03:36 PM, Bryan Sant wrote:
> On 3/13/06, Matthew Walker <mwalker at forevergreen.org> wrote:
> 
>>Clarification: Anything post PHP 4.1 will work. I use the superglobal $_SERVER
>>for the command line input, and those were introduced in 4.1.
> 
> 
> I get the following error when I run the program:
> 
> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> allocate 12 bytes) in /home/santbj/bin/wc.php on line 4
> 
> How do I increase the amount of memory php can use?  I'm using PHP 4.4.0.

Edit the memory_limit variable in php.ini

--Tyler



More information about the PLUG mailing list