Hi Ken,
The error log is empty apart from messages much older and irrelevant. So no errors in the fpm log.
I could try an htaccess file, but would also need to change the allowoverrides directive which is currently set to none.
Restarting httpd and php-fpm has been done with every change I've tried this far. If only it were so simple.
Likewise, file permissions are all good. So the simple stuff has already been eliminated.
The reason for 7.0 is to mimic as closely as possible, the current server's configuration (Ubuntu server with php7.0). We're migrating to CentOS from Ubuntu to test another problem that exists on the Ubuntu server (which is a doozy, the server sends no SYN+ACKs in response to SYNs from certain networks-- weird, right? Not synflood nor TCP backlog problem, but I digress).
The documentation I've read says CentOS prefers fpm, but I'd be just as happy with a modphp, if you have better suggestions closer to what you're using, I'm all ears. Especially if they are stable and simple to implement (yup, CentOS noob alert). Thus far, CentOS documentation has been less than accurate for my server (eg. Apparently firewalld is used over iptables in CentOS 7, but it's all iptables on the server I have). In short, I'm feeling quite like Alice in wonderland at the moment.
The yum install of rh-php as described in the
wiki.centos.org how to would be the cause of the paths with root/usr in them. Coming from Ubuntu, the first thing I did was remove the root password and create a sudo capable standard account (which thereafter I learnt was a very Ubuntu thing to do).
Also, as I'm just testing the server at this point in time, I've been deleting the entire Moodle instance and reinstalling each time I try it. The moodledata dir is thus clean as is the
MariaDB database. Local caches etc are also deleted in the process.
The problem with installing versions 3.2 and up is that during installation, when creating the admin account, the CSS isn't rendered along with some JavaScript files. The new password input requires that JavaScript and thus slash arguments to work in order to be usable. Newer versions don't crash or collapse, I simply can't complete the installation due to the fancy new password box.
Do you know a simple way I could get modphp in a CentOS server? I'm not hooked on fpm, t I tried it on Ubuntu a few times and noticed no performance benefits...
Thanks always,