Glad it's working! Was about out of ideas to help!!!!
Some cautions now:
I see Softaculous. Is that how you installed Moodle?
Moodle isn't and never has been an app one installs once and forgets it.
It will (sooner or later) *require* update or upgrade.
Softac doesn't have a good reputation in these forums for updates nor upgrades.
So ... learn how to do a full site backup from command line. Learn that regardless of how Moodle installed.
PHP 5.4.6 has reached end of life. No more fixes/patches.
Depending upon the version of Moodle, one needs to be running at least 7.1 of php.
(What is the version of Moodle? Noifications in Moodle)
MySQL 56 is also old.
The good new is your server is based on CentOS 7 and uses those repos.
Suggest going to Moodle login as admin then go to Server Environment.
Update component. Then see what the environment check says about system.
'spirit of sharing', Ken