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

Question
solved 0
admin 5 years 2019-10-10T04:03:14+00:00 1 Answer 488 views 1

Answer ( 1 )

    1
    2019-10-10T04:09:39+00:00
    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