Hi All,
I'm trying to install Moodle 3.6. My stack is RHEL 7.6, Apache 2.4.6, MySQL 5.7, PHP 7.2
I've installed the Moodle files to /var/www/moodle, and created a test.php file at /var/www/moodle/web/. The test file tells me Apache is using PHP 5.4, but I certainly have version 7.2 installed (php -v says so). I've tried different methods to get Apache to use the later version, but without success.
I've tried to add a line to my httpd.conf file that points to where PHP 7.2 is:
LoadModule php7_module /opt/rh/rh-php72/root/usr/lib64/libphp7-7.2.so
But this just gives me an error: "Can't locate API module structure 'php7_module' in file...:undefined symbol: php7_module"
I've seen many other similar threads in this forum, some mentioning a2enmod/a2dismod commands, but my server doesn't have those and I may not be able to get them (university IT has some control over the server).
I have other problems, but I think they're related to trying to step through the web-based install while using php 5.4, so it seems that may be my underlying problem and I guess I'll start there.
I'd appreciate any thoughts on this from the community! Many thanks for your time.