How to Update Site Pro on lunix server with multiple PH versions

Question
in progress 0
hmunezero 6 months 1 Answer 142 views 0

Answer ( 1 )

  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 the 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

Leave an answer