I note that the RHEL installation notes are inaccurate in many minor respects. I will send a detailed list, after I am successful.
One issue that I am stuck on for the moment is this:
The instructions have you use perlbrew to build a special version of perl for webwork. That is fine. It passes its tests. However, I am not finding any instructions for configuring httpd to use that version of perl instead of the system version. There are multiple ways this could be done, I expect, from altering the apache user's startup file and changing the system PATH variable to finding the appropriate httpd configuration file and specifying where the alternative path to the perlbrew version of perl is located.
In my case:
/usr/bin/perl = system version (newer version 5.26, which does not work with webwork)
/usr/local/perlbrew/perls/perl-5.20.3/bin/perl = webwork version (older)
As it is, once webwork2 is installed in httpd, then httpd no longer starts. The status output is:
Jan 13 21:54:41 l1 systemd: Starting The Apache HTTP Server...
Jan 13 21:54:41 l1 httpd: AH00526: Syntax error on line 48 of /etc/httpd/conf.d/webwork.conf:
Jan 13 21:54:41 l1 httpd: Can't locate DateTime.pm in @INC (you may need to install the DateTime module) (@INC contains: /opt/webwork/webwork2/lib /usr/local/l>
Jan 13 21:54:41 l1 systemd: httpd.service: Main process exited, code=exited, status=1/FAILURE
Jan 13 21:54:41 l1 systemd: httpd.service: Failed with result 'exit-code'.
Jan 13 21:54:41 l1 systemd: Failed to start The Apache HTTP Server.
On the other hand, using the webwork version of perl, the command:
perl -MDateTime -e 'print "installed\n"'
Thanks in advance!