Help for PEAR

Help for PEAR

am 15.04.2008 00:35:28 von Paul Lautman

I am trying to install the PEAR packageSpreadsheet_Excel_Writer using the
command:
pear install Spreadsheet_Excel_Writer
and I'm getting the error:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 35 bytes) in C:\wamp\php\PEAR\System.php on line 255

I've seen suggestions to use:
peardev install Spreadsheet_Excel_Writer
but that just seems to hang there.

Any suggestions as to the best place to post for assistance on this?

Re: Help for PEAR

am 15.04.2008 02:43:09 von nc

On Apr 14, 3:35 pm, "Paul Lautman"
wrote:
>
> I am trying to install the PEAR packageSpreadsheet_Excel_Writer using
> the command:
> pear install Spreadsheet_Excel_Writer
> and I'm getting the error:
> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> allocate 35 bytes) in C:\wamp\php\PEAR\System.php on line 255

Note that 8388608 bytes is exactly 8 megabytes, so I would suspect
that
memory_limit is to blame. Open your php.ini and increase the current
value of memory_limit from its current setting "8M" to, say, "32M".
That should take care of your problem.

Cheers,
NC

Re: Help for PEAR

am 15.04.2008 10:52:37 von Captain Paralytic

On 15 Apr, 00:43, NC wrote:
> On Apr 14, 3:35 pm, "Paul Lautman"
> wrote:
>
>
>
> > I am trying to install the PEAR packageSpreadsheet_Excel_Writer using
> > the command:
> > pear install Spreadsheet_Excel_Writer
> > and I'm getting the error:
> > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> > allocate 35 bytes) in C:\wamp\php\PEAR\System.php on line 255
>
> Note that 8388608 bytes is exactly 8 megabytes, so I would suspect
> that
> memory_limit is to blame. Open your php.ini and increase the current
> value of memory_limit from its current setting "8M" to, say, "32M".
> That should take care of your problem.
>
> Cheers,
> NC

It is set at 100M. PEAR ignores the php.ini file. PEARDEV is supposed
to honour it.