install not reading php.ini
| From: | Ben Carbery | Date: | Wed, 23 Jan 2008 01:11:47 +0000 |
| Subject: | install not reading php.ini | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-28455@lists.php.net to get a copy of this message | ||
I am trying to install a pecl module with "pecl install radius"
memory_limit is set to 16M in /etc/php.ini but despite that I still get this
error implying memory_limit is set to 8M:
--------------------------------------------------------------------------------------------------------------------------------------------------------
[root@server pear]# pecl install radius
downloading radius-1.2.5.tgz ...
Starting to download radius-1.2.5.tgz (29,750 bytes)
.........done: 29,750 bytes
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 92160 bytes) in /usr/share/pear/PEAR/Builder.php on line 312
--------------------------------------------------------------------------------------------------------------------------------------------------------
I initially tried upgrading pear from 1.4.9 to 1.6.2. A change in the error
but not the memory_limit value:
[root@server PEAR]# pecl install radius
downloading radius-1.2.5.tgz ...
Starting to download radius-1.2.5.tgz (29,750 bytes)
.........done: 29,750 bytes
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 23040 bytes) in /usr/share/pear/PEAR/PackageFile/v2/Validator.php
on line 537
--------------------------------------------------------------------------------------------------------------------------------------------------------
I had a look at the pear config (pecl config-show) and php_ini was unset.
I set it to "/etc/php.ini" but again no change.
I have exhausted my troubleshooting capacity here, can someone please help?
thanks,
Ben