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

solved 0
hmunezero 5 years 2019-10-10T04:03:14+00:00 1 Answer 481 views 1

Answer ( 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/ and you are using PHP version 7.1 then you will need to use cmd below:


    cd /var/www/vhosts/ && /opt/plesk/php/7.1/bin/php index.php /api/update-builder



    Best answer

Leave an answer