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.

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

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

  1. wyattbiker

    wyattbiker Member

    Joined:
    Nov 26, 2010
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    This is what I did:

    Code:
    /scripts/upcp --force
    /usr/local/cpanel/scripts/easyapache
    After easuapache is done here is the error I get when I run httpd from the command line.

    Code:
    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

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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:

    Code:
    /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.
     
Loading...

Share This Page