[Solved] FATAL CONFIG FILE ERROR: Bad directive or wrong number of arguments

Error message

Error reporting reason

The reason is that it is not allowed to add comments after the same valid code line in some configuration files (such as. Conf files, which are widely seen here), which will compile and execute the following comments as the parameters passed in from the current command line; If there are no parameters in the command configuration or the format of the parameters is wrong, an error will be reported naturally
for example:

Solution

Divide the original configuration into two lines of commands and comments

Read More: