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.
Related videos on Youtube
Author by
user1919
Updated on September 18, 2022Comments
-
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. about 9 yearsPost the content of line 222
/etc/apache2/apache2.conf'
in your question. -
Dhaval Simaria about 9 years@Achu It is giving a blank apache error log.
-
Haleemur Ali about 4 years
join
andinner join
are the same thing. also depending on what is present in a where clause, aleft|right join
may also be equivalent to aninner join
-
-
A.B. about 9 yearsaaarg :P +1 ^_^ This was my question ... :)
-
Rinzwind about 9 yearsI was 20 sec quicker ;-) lol
-
Dhaval Simaria about 9 yearsremoving $ showed some more error. Then I tried putting # in the beginning which worked. Appreciate your effort.
-
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 almost 3 yearsThanks Ian, I'll put that in the answer.