Magento on Debian Etch Fatal Error

Discussion in 'Installation/Configuration' started by aleinbeauty, Mar 18, 2008.

  1. aleinbeauty

    aleinbeauty New Member

    First I want to thank Oliver Meyer for the very well done Magento E-Commerce Solution On Debian Etch How To. I followed it trying to install the Magento 0.8.17240 version. It was all ok until the command:

    ./pear install mage-core/Mage_All mage-core/Interface_Install_Default.

    When I give it I have the follows messages:

    Starting to download Mage_All-0.8.17240.tgz (1,969,565 bytes)
    .......................................done: 1,969,565 bytes
    downloading Interface_Install_Default-0.8.17240.tgz ...
    Starting to download Interface_Install_Default-0.8.17240.tgz (112,164 bytes)
    ...done: 112,164 bytes

    Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 8192 bytes) in /var/www/magento/lib/pear/php/PEAR/Installer.php on line 539


    May anybody help me? Many thanks.
     
    Last edited: Mar 18, 2008
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please set the memory limit to a higher value in /etc/php5/apache2/php.ini and then restart apache and try again.
     
  3. aleinbeauty

    aleinbeauty New Member

    I tried to increse the memory limit in the php.ini. I changed the folllow:

    memory_limit = 16M

    into

    memory_limit = 32M

    and than

    memory_limit = 64M

    but I have always the same error message!!!

    Attached the phpinfo output.

    Thanks.
     

    Attached Files:

  4. falko

    falko Super Moderator Howtoforge Staff

    The local value for memory_limit is 32M, the master value is 64M in the phpinfo() output. Do you maybe use an .htaccess file where you set the memory limit, or do you do it in your Apache configuration or in your PHP scripts?

    Other than that I'd try to set a higher memory limit (maybe 128M or 256M).
     

Share This Page