How to Update Site Pro on lunix server with multiple PH versions Question solved 0 Web site admin 4 years 2019-10-10T04:03:14+00:00 2019-10-10T04:03:14+00:00 1 Answer 469 views 0
Answer ( 1 )
If you have multiple PHP versions on server and PHP CLI version differs from PHP WEB version used by builder then specify correct PHP executable in CRON command.
For example if your are hosting the builder at /var/www/vhosts/sb.mygreatway.com/httpdocs: and you are using PHP version 7.1 then you will need to use cmd below:
cd /var/www/vhosts/sb.mygreatway.com/httpdocs && /opt/plesk/php/7.1/bin/php index.php /api/update-builder