Question:
Should I modify the values of Apache's paths in the paths.conf File?
Answer:
The short answer is no.
The paths.conf file (located at /etc/cpanel/ea4/paths.conf) was created to improve future compatibility within the cPanel & WHM codebase, and replaced the use of hardcoded paths to refer to Apache files and directories.
It is strongly recommended that you do not change Apache configuration file locations. EasyApache 4 controls the /etc/cpanel/ea4/paths.conf
file with the ea-apache24-config-runtime package
, and you can only change these values if you create a custom webstack.
A lot of other software components expect Apache's files and directories to be in certain locations, so if these values are modified, there is a very great chance that a lot of unexpected issues will occur.