• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

cronjob and php value

keff

Basic Pleskian
Hi,

on one of my sites it's set a cronjob php file. I've set the cronjob in plesk but getting error like this:

Warning: set_time_limit(): Cannot set time limit in safe mode in /var/www/vhosts/domain/httpdocs/engine/cron/cronjob.php on line 12

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 40 bytes) in /var/www/vhosts/domain/httpdocs/engine/model/ProductModel.php on line 384

The strange thing is the safe mode for this domain is Off. When I put the php file with phpinfo() in it. It shows me the all settings like:

set_time_limit(0);

ini_set("memory_limit","100M");

are set properly. So, what I do wrong?

Please help me with that.
 
Back
Top