Gidday, Im trying to install Akaunting 3.*.* on ISPconfig3. but somewhere its failing and I suspect its checking the CLI version somewhere in its mass of code. It should work as the PHP version reports Version 8.1.8 using phpinfo() However the terminal reports : php -v PHP 7.4.30 (cli) (built: Jun 27 2022 08:14:10) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies Somewhere in these forums it was said that because its a symlink (I'm guessing to hosts real php version) but no solution was offered. Is there a snippet or a way to trick the installer to see or change the CLI version? Thankyou. Mark
Where and for what is it reporting this info? If you have set up ISPConfig with additional PHP versions and have assigned the website meant for Akounting to PHP 8.1, then you must install Akounting on that website using the shell user created for that website. If you have setup jail for that user and website, you must check the necessary directories and commands are available in that jail.
You wouldn't happen to have an error message for us? It's hard to help based on assumptions and only a very generic question: As that is the only question in your post, your chances are better if you ask the Akaunting support on how to trick their installer? As @Taleman said: Which user did execute this command where? [edit] Google helped and pointed to your question here: https://akaunting.com/forum/discussion/installation-update/self-hosted-installation-problem-cli-php You might want to add php to your jail as explained here: Just use /usr/bin/php8.1 instead of /usr/bin/php https://www.faqforge.com/linux/add-php-in-ssh-jail-ispconfig-3/ https://forum.howtoforge.com/threads/ispconfig-3-chroot-with-jailkit-and-php-8-on-cli.87396/ [edit2] Might be even easier, add all (needed) php versions to your jail and set Code: PHP_BINARY="/path/to/php" to your php8.1 executable