The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Switching MPM fails EA4

Discussion in 'EasyApache' started by tylerjr92, May 21, 2016.

Tags:
  1. tylerjr92

    tylerjr92 Member

    Joined:
    May 24, 2014
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Reseller Owner
    Hello,

    I am attempting to move from the MPM Prefork to the MPM Event. The issue I am finding is that regardless of how I approach this, I end up with these errors at the review screen
    Code:
    Update Error: Error: ea-apache24-mod_mpm_event conflicts with ea-apache24-mod_cgi-2.4.20-2.1.x86_64 
    Error: ea-apache24-mod_cgi conflicts with ea-apache24-mod_mpm_event-2.4.20-2.1.x86_64 
    Error: ea-apache24-mod_mpm_prefork conflicts with ea-apache24-mod_mpm_event-2.4.20-2.1.x86_64 
    Error: ea-apache24-mod_cgid conflicts with ea-apache24-mod_cgi-2.4.20-2.1.x86_64 
    Error: ea-apache24-mod_mpm_event conflicts with ea-apache24-mod_mpm_prefork-2.4.20-2.1.x86_64 
    Error: ea-apache24-mod_cgid conflicts with ea-apache24-mod_mpm_prefork-2.4.20-2.1.x86_64 
    Error: ea-apache24-mod_mpm_prefork conflicts with ea-apache24-mod_cgid-2.4.20-2.1.x86_64 
    Error: ea-apache24-mod_cgi conflicts with ea-apache24-mod_cgid-2.4.20-2.1.x86_64
    
    I have gone into Server Modules and the only CGI Module that will be installed is going to be ea-apache24-mod_cgi, all others have been disabled. I have tried to do this with a custom Profile and with a default profile, and just adjust the MPM selection. This fails every time.

    This is the profile that I want installed and that I wrote.
    Code:
    {
       "version" : "1.0",
       "desc" : "This is the default configuration file for MyDesign Servers. It includes PHP7 and Apache 2.4",
       "pkgs" : [
          "ea-apache24",
          "ea-apache24-mod_mpm_event",
          "ea-apache24-config",
          "ea-apache24-config-runtime",
          "ea-apache24-mod_authn_dbm",
          "ea-apache24-mod_authn_socache",
          "ea-apache24-mod_authnz_ldap",
          "ea-apache24-mod_bwlimited",
          "ea-apache24-mod_cgid",
          "ea-apache24-mod_charset_lite",
          "ea-apache24-mod_dav",
          "ea-apache24-mod_dav_fs",
          "ea-apache24-mod_dav_lock",
          "ea-apache24-mod_dbd",
          "ea-apache24-mod_deflate",
          "ea-apache24-mod_expires",
          "ea-apache24-mod_headers",
          "ea-apache24-mod_ldap",
          "ea-apache24-mod_mime_magic",
          "ea-apache24-mod_proxy",
          "ea-apache24-mod_proxy_http",
          "ea-apache24-mod_ruid2",
          "ea-apache24-mod_speling",
          "ea-apache24-mod_ssl",
          "ea-apache24-mod_unique_id",
          "ea-apache24-mod_version",
          "ea-apache24-tools",
          "ea-apr",
          "ea-apr-util",
          "ea-apr-util-ldap",
          "ea-cpanel-tools",
          "ea-documentroot",
          "ea-libmcrypt",
          "ea-php-cli",
          "ea-php70",
          "ea-php70-libc-client",
          "ea-php70-php",
          "ea-php70-php-bcmath",
          "ea-php70-php-bz2",
          "ea-php70-php-calendar",
          "ea-php70-php-cli",
          "ea-php70-php-common",
          "ea-php70-php-curl",
          "ea-php70-php-enchant",
          "ea-php70-php-exif",
          "ea-php70-php-fileinfo",
          "ea-php70-php-fpm",
          "ea-php70-php-ftp",
          "ea-php70-php-gd",
          "ea-php70-php-gettext",
          "ea-php70-php-gmp",
          "ea-php70-php-iconv",
          "ea-php70-php-imap",
          "ea-php70-php-ldap",
          "ea-php70-php-mbstring",
          "ea-php70-php-mcrypt",
          "ea-php70-php-mysqlnd",
          "ea-php70-php-pdo",
          "ea-php70-php-pgsql",
          "ea-php70-php-posix",
          "ea-php70-php-process",
          "ea-php70-php-pspell",
          "ea-php70-php-soap",
          "ea-php70-php-sockets",
          "ea-php70-php-xml",
          "ea-php70-php-xmlrpc",
          "ea-php70-php-zip",
          "ea-php70-runtime",
          "ea-profiles-cpanel"
       ],
       "name" : "MyDesign Default",
       "tags" : [
          "Apache 2.4",
          "PHP 7",
          "MPM Event"
       ]
    }
    
    
     
    #1 tylerjr92, May 21, 2016
    Last edited: May 22, 2016
  2. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

    Joined:
    May 2, 2014
    Messages:
    508
    Likes Received:
    64
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Good morning,

    We've had some bugs in the package dependency resolution code over the past release or two. We've been working this cycle of making this experience better, but it won't be public until v58.

    In short, from the profile you provided, you're attempting to install the EA4 PHP 70 DSO package (ea-php70-php). The DSO module requires a forked MPM, but since you've enabled worker, this conflicts. You either need prefork with that DSO package, or you can remove the DSO package from your selections and it should work for you.

    I hope this helps!
     
  3. tylerjr92

    tylerjr92 Member

    Joined:
    May 24, 2014
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Reseller Owner
    Hello Jacob,

    This helped a ton! Thank you!
     
    fisiculturismo likes this.
Loading...

Share This Page