Magento Forum

   
PHP error with 0.7.14800, memory size exhausted
 
opalu
Jr. Member
 
Avatar
Total Posts:  8
Joined:  2007-12-14
seabush, germany
 

My problem with the PEAR installation after
./pear install mage-core/Mage_All
is:
...
Starting to download Lib_ZF-0.7.0.tgz (2,080,168 bytes)
...done: 2,080,168 bytes
PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 8192 bytes) in /srv/www/vhosts/tanzbuchung.de/httpdocs/tanztage/mag/magento/lib/pear/php/PEAR/Installer.php on line 530

after messing around for some hours now – I have no idea.
if it helps, here is the phpinfo: http://tanzbuchung.de/phpinfo.php

(by the way: great installer!)

thank you.

 
Magento Community Magento Community
Magento Community
Magento Community
 
opalu
Jr. Member
 
Avatar
Total Posts:  8
Joined:  2007-12-14
seabush, germany
 

the php.ini allows now 128M,
changed the .htaccess, ...

and still the same PHPerror.
and still no idea.

read the systemRequirements again,
all fine except of mhash.

i´ve got hash, because
mhash is no longer bundled with PHP as of PHP 5.3.0.
it is obsoleted by Hash.

but is this needed during installation?
do i have to compile PHP with this old mHash?

 
Magento Community Magento Community
Magento Community
Magento Community
 
uprocka
Jr. Member
 
Total Posts:  3
Joined:  2007-11-25
 

I have totally the same problem… increasing the memory_size in the global php.ini nor the php.ini of the vhost did not fix it.

any hints?

where do I set this memory limit?

 
Magento Community Magento Community
Magento Community
Magento Community
 
phaseonemedia
Jr. Member
 
Avatar
Total Posts:  1
Joined:  2008-01-09
Ohio, USA
 

is this a clue?
lib/pear/php/PEAR/Installer.php on line 530

if (!file_exists($orig_file)) {
                    
return $this->raiseError("file $orig_file does not exist",
                                             
PEAR_INSTALLER_FAILED);
                
}

again i say… hm.......
lib/pear/php/PEAR/Installer.php on line 488 and 484

484$info $role->processInstallation($pkg$atts['attribs']$file$tmp_path);
488: list($save_destdir$dest_dir$dest_file$orig_file) = $info;

by the looks of things, im leaning toward some sort of missing extension of package for pear in php or an unwritable directory, or perhaps a simple change in the configuration of magento would cure it. seeing as how ive never installed magneto i have no right to talk, but ill find out just for fun to learn more about the varien, zend, and pear objects this system is extending off of.

Update
seems i may be onto something here…
see the links below…

here
http://paul-m-jones.com/?p=262

and here
http://www.php.net/manual/en/language.oop5.overloading.php

 
Magento Community Magento Community
Magento Community
Magento Community
 
Azkul
Jr. Member
 
Avatar
Total Posts:  17
Joined:  2008-01-10
 

More information on this problem can be found here:

http://www.magentocommerce.com/boards/viewthread/2622/

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top