Mamp: Error with DB Charset in line 31

I have real trouble with setting up WordPress. I have no idea of coding and html, but I could figure out that the issue lies in Line 31.

Mamp showed me this error:

Read More

[10-Apr-2015 21:14:38 Europe/Berlin] PHP Parse error: syntax error,
unexpected ‘DB_CHARSET’ (T_STRING) in
/Applications/MAMP/htdocs/Wordpress/wp-config.php on line 31

I googled the mistake, but nobody had trouble with line 31. I know that it has to be utf8, and it is also in the configuration file written like this, but I really can’t find the mistake. Does someone has an answer?

Thank you very much for your help.

 /** MySQL database username */ define('DB_USER', ‘root’);
 /** MySQL database password */ define('DB_PASSWORD', ‘root’);
 /** MySQL hostname */ define('DB_HOST', 'localhost’);
 /** Database Charset to use in creating database tables. */      
 define('DB_CHARSET', ‘utf8’);

I know, it’s a syntax error, but the other post about syntax errors couldn’t help me. Can someone give me an answer to this specific case.

Related posts

Leave a Reply

1 comment