Hi,
I use the automatc backup method "alternative crontab" like described here https://www.akeeba.com/documentation/akeeba-solo/automating-your-backup.html#alternative-cron-script.
If I run the Script /usr/bin/php /www/htdocs/w01a15c8/toboit.de/wp-content/plugins/akeebabackupwp/app/cli/backup.php --profile=1 the Backup Job run successfully. But my Hoster force me to run a PHP-CGI Bridge Skript.
<?phpexec("/usr/bin/php /www/htdocs/w01a15c8/toboit.de/wp-content/plugins/akeebabackupwp/app/cli/backup.php --profile=1 2>&1", $out, $result);
?>
echo "Returncode: " .$result ."<br>";
echo "Ausgabe des Scripts: " ."<br>";
echo "<pre>"; print_r($out);
If you put this url i a browser, you get the following error message:
Returncode: 255
Ausgabe des Scripts:
Array ( [0] => PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0". You are running 7.2.34-nmm8. in /www/htdocs/w01a15c8/toboit.de/wp-content/plugins/akeebabackupwp/app/vendor/composer/platform_check.php on line 24 [1] => [2] => Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0". You are running 7.2.34-nmm8. in /www/htdocs/w01a15c8/toboit.de/wp-content/plugins/akeebabackupwp/app/vendor/composer/platform_check.php on line 24 )
But the Wordpress site runs definitly unter PHP 8.1
ls -al /usr/bin/php
lrwxrwxrwx 1 ssh-w01a15c8 w01a15c8 5 Dez 2 18:53 /usr/bin/php -> php81
What can be the problem here?
Regards
Thomas