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
Guest
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
Guest
From: Germany
Registered: 2010-03-05
Posts: 859

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.2.3 /Ubuntu 16.04.4 LTS
Apache/2.4.18 (Ubuntu) - PHP 7.0.30-0ubuntu0.16.04.1 - MySQL 5.7.22-0ubuntu0.16.04.1

Offline

Board footer

Powered by FluxBB