can't running apache service, ( web service )


install a new version of ehcp but i can't upload my website and can't run apache2 service.

here is error report

apache2: Syntax error on line 272 of /etc/apache2/apache2.conf: Syntax error on line 26 of /var/www/new/ehcp/apachehcp.conf: Could not open configuration file /etc/apache2/fastcgi_params;: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information


your web config is broken somehow,

login to mysql,

mysql -p

then, issue following mysql commands:

-- reset to non-ssl mod all apache settings.
update misc set value='apache2' where name='webservertype';
update misc set value='nonssl' where name='webservermode';
insert into operations (op) values ('fixapacheconfignonssl');

-- rebuilds apache config:
insert into operations (op) values ('syncdomains');

-- rebuild bind dns config:
insert into operations (op) values ('syncdns');