Skip to main content

Change PHP Version EasyApache 3.24.7 Issue

Comments

7 comments

  • vincentg
    I tried this on a second server - same problem I assume that this is due to the use of COMODO WAF
    0
  • JacobPerkins
    Hi, Have you attempted to migrate these systems to EA4? It appears that EA3 is attempting to stat a directory in '/etc/apache2', but that directory is only valid on EA4. Could you see if '/etc/cpanel/ea4/paths.conf' exists? If it does, can you run the following?
    rpm -qf /etc/cpanel/ea4/paths.conf
    Thanks!
    0
  • vincentg
    That path doesn't exist All servers are using EasyApache 3 not 4
    0
  • JacobPerkins
    Hi, It appears that COMODO WAF is attempting to use an EA4 path for it's rules, instead of EA3. I'd recommend putting in a ticket when you're able to so we can take a look at this. Thanks!
    0
  • vincentg
    I made a mistake in the title - It should be EasyApache 3.34.7 If that is so then wouldn't it just be simple to just copy the rules to the path /etc/apache2/conf.d/modsec2.conf The rules for cwaf is in /var/cpanel/cwaf/tmp/rules/ Also there has been no problem with EasyApache with any prior version and CWAF
    0
  • cPanelMichael
    Hello @vincentg, The path and directory structure is reorganized in EasyApache 4, so you can't copy the rules to the EA4 path. Here's a document that explains the path differences: Introduction to EasyApache 4 - EasyApache 4 - cPanel Documentation As a workaround, you could temporarily create the following directory structure and file if you simply wanted the EasyApache build to complete:
    /etc/apache2/conf.d/modsec2.conf
    However, you would have to remove it after EasyApache completes. The other option is to upgrade to EasyApache 4: How to Install or Uninstall EasyApache 4 - EasyApache 4 - cPanel Documentation I also encourage you to report the issue to the Comodo CWAF plugin support forums at: Free Modsecurity rules - Comodo Web Application Firewall Thank you.
    0
  • vincentg
    Created the folder and sub folder within the folder /etc Created an empty file. It worked
    0

Please sign in to leave a comment.