• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question php 7.2 default path

Shane O-Mac

New Pleskian
Hi,

We recently updated our client portal from php version 5.6 to 7.2 and our phpinfo file saying its in /opt/plesk/php/7.2 and when we set it we get the error it cant run the cron at all but on our old php 5.6 install its running fine.

any chance anyone could help me out with this please.
 
Try to run your cron task with using full path to PHP7.2 binary - /opt/plesk/php/7.2/bin/php your_script.php
 
Try to run your cron task with using full path to PHP7.2 binary - /opt/plesk/php/7.2/bin/php your_script.php
Hi,

When I try that I get this error

  • Task "/opt/plesk/php/7.2/bin/php -q /var/www/vhosts/mydentalportal.co.uk/httpdocs/index.php cron > /dev/null 2>&1" completed with error in 0 seconds.
 
Back
Top