I try to receive auto email daily , it doesn’t work , and I don’t understand
Kanboard :
Version de l’application : 1.2.28
Version de PHP : 7.4.30
PHP SAPI : fpm-fcgi
Client HTTP : cURL
Version du système d’exploitation : Linux 4.4.59+
Type de base de données : sqlite
Version de la base de donnée : 3.10.2
Navigateur web : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0
NAS SYNOLOGY
Default profile PHP 7.4
Apache HTTP Server 2.4
The cron log
PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 7.4.0”. You are running 5.6.11. in /volume1/web/kb/vendor/composer/platform_check.php on line 25
I just wrote :
cd /volume1/web/kb/ && php74 ./cli cronjob >> /volume1/web/kb/log.txt 2>&1
And it’s work
Le log (I’llsee later)
Thnaks a lot alfredb !
PHP Warning: PHP Startup: Unable to load dynamic library ‘mcrypt.so’ (tried: /usr/local/lib/php74/modules/mcrypt.so (/usr/local/lib/php74/modules/mcrypt.so: cannot open shared object file: No such file or directory), /usr/local/lib/php74/modules/mcrypt.so.so (/usr/local/lib/php74/modules/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘mysql.so’ (tried: /usr/local/lib/php74/modules/mysql.so (/usr/local/lib/php74/modules/mysql.so: cannot open shared object file: No such file or directory), /usr/local/lib/php74/modules/mysql.so.so (/usr/local/lib/php74/modules/mysql.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Well, I wouldn’t name it “working”, if you got those two errors. But strange because mcrypt.so is not on the list of requirements and mysql.so in not required if you use SQLite.