• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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