Forum

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

New Discussion

Version of PHP

Adis Selman   ( User )

Commented 2 years ago

At the beginning of the installation, there is an error for the PHP version, it is looking for version 8.0.2 or higher, and the version on the hosting is 8.0.20
Error: Ask your hosting provider to use PHP 8.0.2 or higher for both HTTP and CLI.

Fatih Gucuko   ( User )

Commented 2 years ago

I have the same error, and i cant update with or without PHP CLI

Serg   ( User )

Commented 2 years ago

A have this problem until I've added path to PHP in my env vars
For windows: My Computer -> Properties -> Adv. System settings -> Env. Variables -> System Variables -> Edit 'Path' var and add path to dir with PHP "C:\xampp\php\" in my case.

Babak Fakhamzadeh   ( User )

Commented 1 year ago

I tried to install Akaunting3.1 and ran into the same problem. My server runs PHP8.1, as does the CLI.

I edited the file /app/Utilities/Installer.php, commenting out line 124:

$requirements[] = trans('install.error.php_version', ['php_version' => AKAUNTING_PHP]);

This allowed me to install Akaunting on my server.

Babak Fakhamzadeh   ( User )

Commented 1 year ago

I tried to install Akaunting3.1 and ran into the same problem. My server runs PHP8.1, as does the CLI.

I edited the file /app/Utilities/Installer.php, commenting out line 124:

$requirements[] = trans('install.error.php_version', ['php_version' => AKAUNTING_PHP]);

This allowed me to install Akaunting on my server.

Please login or register to leave a response.

Showing 1 to 5 of 5 discussions