Forum

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

New Discussion

Bugs when using PHP8.2 instead of PHP

Waqqas Hanafi   ( User )

Commented 1 year ago

I have Akaunting running on Apache 2.4 using PHP 8.2. The PHP is called "PHP8.2" and not "PHP" (which is PHP 7.4 on the server, used for other websites).

I see that Akaunting uses "PHP" instead of "PHP8.2" when running CLI code. This causes errors.

I suspect that's why many things are broken including installing add-ons and adding new users.

Waqqas Hanafi   ( User )

Commented 1 year ago

Fixed it by editing .env file and adding:

APP_PHP_PATH=/path/to/php8.2

Maosa Media   ( User )

Commented 1 year ago

when running CLI please check path PHP version in command prompt not in on web server, if OS windows check your path to php8.2

Please login or register to leave a response.

Showing 1 to 3 of 3 discussions