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

60

Solution 1

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.

Solution 2

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.

Share:
60

Related videos on Youtube

user1919
Author by

user1919

Updated on September 18, 2022

Comments

  • user1919
    user1919 almost 2 years

    I was revising the theory of joins in PostgreSQL a bit and I couldn't find the syntax that I usually use:

    SELECT * FROM TABLE_A A 
    JOIN TABLE_B B ON (A.COLUMN_A = B.COLUMN_B) [WHERE ..]
    

    What kind of join is this? Is it equivalent with the INNER JOIN?

    SELECT * FROM TABLE_A A 
    INNER JOIN TABLE_B B ON (A.COLUMN_A = B.COLUMN_B) [WHERE ..]
    
    • A.B.
      A.B. about 9 years
      Post the content of line 222 /etc/apache2/apache2.conf' in your question.
    • Dhaval Simaria
      Dhaval Simaria about 9 years
      @Achu It is giving a blank apache error log.
    • Haleemur Ali
      Haleemur Ali about 4 years
      join and inner join are the same thing. also depending on what is present in a where clause, a left|right join may also be equivalent to an inner join
  • A.B.
    A.B. about 9 years
    aaarg :P +1 ^_^ This was my question ... :)
  • Rinzwind
    Rinzwind about 9 years
    I was 20 sec quicker ;-) lol
  • Dhaval Simaria
    Dhaval Simaria about 9 years
    removing $ showed some more error. Then I tried putting # in the beginning which worked. Appreciate your effort.
  • Ian Wilson
    Ian Wilson almost 3 years
    The words INNER and OUTER are optional in all forms. INNER is the default; LEFT, RIGHT, and FULL imply an outer join. SEE Qualified Joins under 7.2.1.1. Joined Tables within postgresql.org/docs/13/…
  • logjammin
    logjammin almost 3 years
    Thanks Ian, I'll put that in the answer.