Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

After update and easyapache I get Invalid command 'AddType', perhaps .....

Discussion in 'EasyApache' started by wyattbiker, Dec 16, 2011.

  1. wyattbiker

    wyattbiker Member

    Nov 26, 2010
    Likes Received:
    Trophy Points:
    This is what I did:

    /scripts/upcp --force
    After easuapache is done here is the error I get when I run httpd from the command line.

    Syntax error on line 11 of /usr/local/apache/conf/php.conf:
    Invalid command 'AddType', perhaps misspelled or defined by a module not included in the server configuration
    suphp is enabled in the exhaustive list of easyapache. This was working ok. If Comment it out then

    I need to fix this as soon as possible please.
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Oct 2, 2010
    Likes Received:
    Trophy Points:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Re: After update and easyapache I get Invalid command 'AddType', perhaps ..

    Please run these two commands and provide the output:

    /usr/local/cpanel/bin/rebuild_phpconf --current
    /usr/local/cpanel/bin/rebuild_phpconf --available
    Also, if this is an emergency, please submit a ticket in WHM > Support Center > Contact cPanel or using the link in my signature. Provided you have root SSH and root WHM access, you can submit a ticket to us. All emergency issues involving cPanel or EasyApache need to be directed to our ticket system rather than the forums for the quickest support and resolution.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice