Thursday, 22 August 2013

PEAR Install out of memory

PEAR Install out of memory

I am trying to install PEAR into WAMP on Windows Server 2008.
When I do:
V:\wamp\bin\php\php5.4.12>php go-pear.phar
I get:
PHP Fatal error: Allowed memory size of 262144 bytes exhausted (tried to
alloca
te 91 bytes) in Unknown on line 0
Fatal error: Allowed memory size of 262144 bytes exhausted (tried to
allocate 91
bytes) in Unknown on line 0
I have tried to solve the error via Googling but all I get is people
saying to increase PHP memory limit. This is not the problem.
I have two php.ini files, one in Apache one in PHP. I don't know why there
is two but regardless I have set the memory_limit in both to 4096MB, and I
still get the error.
How can this be fixed so I can install PEAR?

No comments:

Post a Comment