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

Question
solved 0
hmunezero 9 months 1 Answer 218 views 0

Answer ( 1 )

  1. This answer is edited.

    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

     

     

    Best answer

Leave an answer