Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Installation error on live server.

Veev   ( User )

Commented 1 year ago

Error: Ask your hosting provider to use PHP 8.0.2 or higher for both HTTP and CLI.
How to fix this error./
Thanks !

Denis Dulici   ( Admin )

Commented 1 year ago

Hello,

You should ask your hosting provider to fix it.

Best regards

Jürg Hunziker   ( User )

Commented 1 year ago

I got the same error during the installation. It seems that akaunting doesn't get the php executable from the PATH variable (PhpExecutableFinder.php is overwritten) but tries to guess it from the setup. In my case it always resolved to `php` which is an older version of PHP in my shared hosting. I could solve it by creating a `.env` file in the root folder of akaunting with the following content:
`APP_PHP_PATH=`

Please login or register to leave a response.

Showing 1 to 3 of 3 discussions