PHP version error in installing InvoicePlane


#1

I already have PHP 7 available, but during the step of setup, I get message saying: "InvoicePlane requires PHP 7.0.0 or higher. Please upgrade your PHP version to use InvoicePlane."

root@ip-12-321-22-6:/var/www/html/accounts/ip# php -v
PHP 7.0.30-1+ubuntu14.04.1+deb.sury.org+1 (cli) (built: May  2 2018 13:00:43) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.30-1+ubuntu14.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend Technologies
root@ip-12-321-22-6:/var/www/html/accounts/ip# 

#2

I faced the same problem. I changed the php version to 7.1. It worked.

Try updating to php 7.1


#3

@azampashaa I just upgraded it to PHP 7.1 but it is still giving the same error.


#4

@Abhishek_Kaushik I think the command line version is still version 7.0:

 Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.30-1+ubuntu14.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend Technologies
root@ip-12-321-22-6:/var/www/html/accounts/ip#