Synology-Forum.nl

Packages => 3rd party Packages => Spotweb => Topic gestart door: Binnetie op 07 maart 2012, 21:36:49

Titel: Installatie Spotweb op DS107+ fatal error
Bericht door: Binnetie op 07 maart 2012, 21:36:49
Ik ben begonnen met de tutorial om spotweb te installeren op mijn DS107+. Ik gebruik hiervoor de handleiding die geschreven is door Caveman... waarvoor heel erg veel dank!

Het gaat al mis bij stap 2. Het installeren van pear install --alldeps Net_NNTP
Ik krijg deze melding:
Citaat
PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 140276 bytes) in /opt/share/pear/PEAR/Task/Replace.php on line 171

In regel 171 staat:
Citaat
$this->logger->log(3, "doing " . sizeof($subst_from) .
            " substitution(s) for $dest");
        if (sizeof($subst_from)) {
            $contents = str_replace($subst_from, $subst_to, $contents);
        }

Het lijkt erop dat hij ergens te weinig geheugen heeft. Weet iemand hoe ik deze melding kan oplossen?
Titel: Re: Installatie Spotweb op DS107+ fatal error
Bericht door: Binnetie op 07 maart 2012, 21:59:49
Opgelost. Het schijnt inderdaad iets te zijn met de max groote ergs van.

Zie: http://www.pinoytux.com/linux/fix-%e2%8 ... 0%9d-error (http://www.pinoytux.com/linux/fix-%e2%80%9cfatal-error-allowed-memory-size-of-8388608-bytes-exhausted%e2%80%9d-error).

Wat je moet doen is:
Open the file /usr/share/pear/pearcmd.php and add this right after the < ?php line:
 
@ini_set('memory_limit', '16M');