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

wyattbiker

Member
Nov 26, 2010
18
0
51
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.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
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.