Запустите задание cron на cpanel с версией php7. ⇐ Php
Запустите задание cron на cpanel с версией php7.
I want to setup cron job on cpanel admin with php7 version. My php script for cron requires php 7.0 or above to run. The problem is that the path to php7 cannot be found. I have already selected php 7.0 as current version in cpanel. I do not have access to ssl.
what I have done is similar to this this
/usr/local/cpanel/3rdparty/bin/php "/home/username/public_html"/myjob.php >> "/home/username"/myjob.log This works for scripts which runs with php 5.6 but my problem is that the job myjob.php requires php 7.0. I tried to run with php7, php70, php7.0 but none run. I tried to run like this.
/usr/local/cpanel/3rdparty/bin/php7 "/home/username/public_html"/myjob.php >> "/home/username"/myjob.log My problem is that I cannot find the the path to php7. Where is the path to this version? How can I run this?
Источник: https://stackoverflow.com/questions/524 ... p7-version
I want to setup cron job on cpanel admin with php7 version. My php script for cron requires php 7.0 or above to run. The problem is that the path to php7 cannot be found. I have already selected php 7.0 as current version in cpanel. I do not have access to ssl.
what I have done is similar to this this
/usr/local/cpanel/3rdparty/bin/php "/home/username/public_html"/myjob.php >> "/home/username"/myjob.log This works for scripts which runs with php 5.6 but my problem is that the job myjob.php requires php 7.0. I tried to run with php7, php70, php7.0 but none run. I tried to run like this.
/usr/local/cpanel/3rdparty/bin/php7 "/home/username/public_html"/myjob.php >> "/home/username"/myjob.log My problem is that I cannot find the the path to php7. Where is the path to this version? How can I run this?
Источник: https://stackoverflow.com/questions/524 ... p7-version
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Есть ли решение запустить команду задания cron в cpanel только с моего хоста cPanel?
Anonymous » » в форуме Php - 0 Ответы
- 72 Просмотры
-
Последнее сообщение Anonymous
-