Ask, reply and learn. Join the community of Akaunting.
Gidday, I'm trying to get the latest version installed and up and running. I' getting this error.
Error: Ask your hosting provider to use PHP 8.0.2 or higher for both HTTP and CLI.
The PHP version installed is correct.
Configuration File (php.ini) Path /etc/php/8.1/fpm
Loaded Configuration File /etc/php/8.1/fpm/php.ini
Scan this dir for additional .ini files /etc/php/8.1/fpm/conf.d
Additional .ini files parsed /etc/php/8.1/fpm/conf.d/10-mysqlnd.ini, /etc/php/8.1/fpm/conf.d/10-opcache.ini, /etc/php/8.1/fpm/conf.d/10-pdo.ini, /etc/php/8.1/fpm/conf.d/15-xml.ini, /etc/php/8.1/fpm/conf.d/20-apcu.ini, /etc/php/8.1/fpm/conf.d/20-bcmath.ini, /etc/php/8.1/fpm/conf.d/20-calendar.ini, /etc/php/8.1/fpm/conf.d/20-ctype.ini, /etc/php/8.1/fpm/conf.d/20-curl.ini, /etc/php/8.1/fpm/conf.d/20-dom.ini, /etc/php/8.1/fpm/conf.d/20-exif.ini, /etc/php/8.1/fpm/conf.d/20-ffi.ini, /etc/php/8.1/fpm/conf.d/20-fileinfo.ini, /etc/php/8.1/fpm/conf.d/20-ftp.ini, /etc/php/8.1/fpm/conf.d/20-gd.ini, /etc/php/8.1/fpm/conf.d/20-gettext.ini, /etc/php/8.1/fpm/conf.d/20-iconv.ini, /etc/php/8.1/fpm/conf.d/20-imagick.ini, /etc/php/8.1/fpm/conf.d/20-imap.ini, /etc/php/8.1/fpm/conf.d/20-intl.ini, /etc/php/8.1/fpm/conf.d/20-mbstring.ini, /etc/php/8.1/fpm/conf.d/20-memcache.ini, /etc/php/8.1/fpm/conf.d/20-mysqli.ini, /etc/php/8.1/fpm/conf.d/20-pdo_mysql.ini, /etc/php/8.1/fpm/conf.d/20-pdo_sqlite.ini, /etc/php/8.1/fpm/conf.d/20-phar.ini, /etc/php/8.1/fpm/conf.d/20-posix.ini, /etc/php/8.1/fpm/conf.d/20-pspell.ini, /etc/php/8.1/fpm/conf.d/20-readline.ini, /etc/php/8.1/fpm/conf.d/20-shmop.ini, /etc/php/8.1/fpm/conf.d/20-simplexml.ini, /etc/php/8.1/fpm/conf.d/20-soap.ini, /etc/php/8.1/fpm/conf.d/20-sockets.ini, /etc/php/8.1/fpm/conf.d/20-sqlite3.ini, /etc/php/8.1/fpm/conf.d/20-sysvmsg.ini, /etc/php/8.1/fpm/conf.d/20-sysvsem.ini, /etc/php/8.1/fpm/conf.d/20-sysvshm.ini, /etc/php/8.1/fpm/conf.d/20-tidy.ini, /etc/php/8.1/fpm/conf.d/20-tokenizer.ini, /etc/php/8.1/fpm/conf.d/20-xmlreader.ini, /etc/php/8.1/fpm/conf.d/20-xmlwriter.ini, /etc/php/8.1/fpm/conf.d/20-xsl.ini, /etc/php/8.1/fpm/conf.d/20-zip.ini
I'm using Ispconfig3 to host.
The SSH reveals this :
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
I believe that this is because it is symlinked. see this post..
https://forum.howtoforge.com/threads/changing-the-php-cli-version-in-the-ispconfig-panel.86298/
This would appear to be normal in virtual hosts, and maybe Akaunting could be tweaked for this test to not fail.
What files can I amend to trick the installer to complete? Possible by removing the logic tests for:
1. PHP (I think it passes the PHP test so probably not needed)
2. CLI (Which I think is the problem)
Mark.
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.
Thankyou. I'm no longer using Akaunting here in Australia. There is a free alternative with better Australian Payroll, GST, and Single Touch Payroll support and doesn't break every time an update occurs. Just Google 'Free Accounting Software FAS3'
Akaunting is better with invoice attachments, but also loan funding's/transfers showed as income, backups never restored and the whole thing was just dramas even buying plugins being invoiced with the wrong amounts. Bug notices taking over 6mths to resolve and not even then. I hope your experience is better, but goodluck.
Showing 1 to 3 of 3 discussions