Strange: Parse Error In Config.local.php After Moving

I am moved my site on new server, but now I get this error when trying to open the site:

Parse error: syntax error, unexpected T_STRING in /config.local.php on line 40



The line is this:

$config['db_password'] = ‘mypass';





Please help me fix it.

check it with an editor and do a search for a single quote. You should land at each single quote. My bet is one of them is a back-quote instead. My eyes aren't good enough to pick it out of the text. Alternatively you can change all those single quotes to double quotes.