• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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