Unable to start Apache2 with Error AH00526: Syntax error - Invalid command $

Recently I re-installed Apache because of some problem but since then this particular error is failing it to start.

Invalid command $.

There are related answers which I have tried like below but that too not effective:

Upgraded to Ubuntu 13.10 - Apache not able to start

My Apache configuration file line 222 is as below:

    # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
    $ Include /etc/phpmyadmin/apache.conf

Will be grateful for any kind of help.


Remove the $, that's all.

sudo nano /etc/apache2/apache2.conf

Navigate to line 222 and use a # as comment or remove the $ if you need the configuration in /etc/phpmyadmin/apache.conf.


Seems to obvious to me: the error complains about a $. There is a $ in the config file ad you copied it.

That $ does not belong in the config file. Please delete it.