Results 1 to 3 of 3

Thread: installing Xinc

  1. #1
    Join Date
    Mar 2006
    Location
    Slovenija
    Beans
    260
    Distro
    Ubuntu 8.04 Hardy Heron

    installing Xinc

    sudo pear install --alldeps pear.xinc.eu/Xinc-2.0.0b196
    Unknown remote channel: pear.phing.info
    Unknown remote channel: components.ez.no
    Unknown remote channel: components.ez.no

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 16 bytes) in /usr/share/php/PEAR/Registry.php on line 1145

    Call Stack:
    0.0551 234556 1. {main}() /usr/share/php/pearcmd.php:0
    5.0284 2926120 2. PEAR_Command_Common->run() /usr/share/php/pearcmd.php:305
    5.0287 2926120 3. PEAR_Command_Install->doInstall() /usr/share/php/PEAR/Command/Common.php:271
    6.1708 5194012 4. PEAR_Downloader->download() /usr/share/php/PEAR/Command/Install.php:661
    7.3512 6774900 5. PEAR_Downloader_Package->detectDependencies() /usr/share/php/PEAR/Downloader.php:391
    7.3546 6774900 6. PEAR_Downloader_Package->_detect2() /usr/share/php/PEAR/Downloader/Package.php:381
    8.7450 7264264 7. PEAR_Downloader_Package->_detect2Dep() /usr/share/php/PEAR/Downloader/Package.php:502
    8.7540 7264264 8. PEAR_Downloader->_getDepPackageDownloadUrl() /usr/share/php/PEAR/Downloader/Package.php:639
    8.8056 7265688 9. PEAR_Registry->packageInfo() /usr/share/php/PEAR/Downloader.php:972
    8.8121 7265904 10. PEAR_Registry->_packageInfo() /usr/share/php/PEAR/Registry.php:1648
    8.8634 8112412 11. unserialize() /usr/share/php/PEAR/Registry.php:1145

    How can i change allowed memory?

    I have 40m memory in php.ini

    memory_limit = 40M ; Maximum amount of memory a script may consume (8MB)
    Last edited by mitjab; October 27th, 2009 at 07:27 PM.
    Juventus the champion

  2. #2
    Join Date
    Mar 2007
    Beans
    57

    Re: installing Xinc

    Change php.ini? Not to sure.
    HP DV67000

  3. #3
    Join Date
    Mar 2006
    Location
    Slovenija
    Beans
    260
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: installing Xinc

    SOLVED:

    Help with this link
    http://pear.php.net/bugs/bug.php?id=1596


    According to http://www.mail-archive.com/debian-b...msg205637.html the solution is to increase the allowed memory size for PEAR. I did this by altering the following line in /usr/bin/pear : exec $PHP -C -q $INCARG -d output_buffering=1 $INCDIR/pearcmd.php "$@" to exec $PHP -C -q $INCARG -d output_buffering=1 -d memory_limit=36M $INCDIR/pearcmd.php "$@" cheers, gustavo
    Last edited by mitjab; October 27th, 2009 at 09:58 PM.
    Juventus the champion

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •