• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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