Hello,
I'm having an issue getting to the installation page of Moodle. I'm running it on CentOS 7. When I go to http://my-ip-address/learning (I changed the moodle directory in var/www/html to learning). I get this message:
Moodle 3.4 or later requires at least PHP 7.0.0 (currently using version 5.4.16). Some servers may have multiple PHP versions installed, are you using the correct executable?
But I confirmed I have PHP 7.0 installed. When I run php -v I get the following:
PHP 7.0.30 (cli) (built: Apr 28 2018 08:14:08) ( 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, Copyright (c) 1999-2017, by Zend Technologies