You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2018-01-10 13:13:41

ajamouhi
Member
Registered: 2018-01-10
Posts: 1

cron php glpi

Hello everyone

I would like you to help me solve my problem, I install glpi under ubuntu 17.10 with apache2 php7.1 and mysql phpmyadmin.

when I execute the following command:

php /var/www/glpi/front/cron.php or php7.1 /var/www/glpi/front/cron.php

also /usr/bin/php7.1/var/www/glpi/front/cron.php

in any case I have the following error message:

PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 32768 bytes) in /var/www/glpi/inc/commondbtm.class.php on line 2255

thank you in advance for helping me solve this

Last edited by ajamouhi (2018-01-10 13:14:51)

Offline

#2 2018-01-15 22:54:20

KKAdmin
Member
From: Germany
Registered: 2010-03-05
Posts: 959

Re: cron php glpi

Did you check your configuration ?

grep memory_limit /etc/php/7.0/apache/php.ini
i got memory_limit = 128M
grep memory_limit /etc/php/7.0/cli/php.ini
i got memory_limit = -1

https://www.airpair.com/php/fatal-error … emory-size


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3

Offline

Board footer

Powered by FluxBB