Title: Parse Syntax Error
Last modified: August 20, 2016

---

# Parse Syntax Error

 *  [justchillz](https://wordpress.org/support/users/justchillz/)
 * (@justchillz)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/parse-syntax-error-1/)
 * Hi,
 * I’m getting following error while opening my wordpress site. Pls suggest.
 * Parse error: syntax error, unexpected $end in /home/content/79/8296279/html/wp-
   config.php on line 2
 * Regards,

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/parse-syntax-error-1/#post-2317310)
 * recopy the `config-sample.php`
    and apply the correct db details upload new copy
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/parse-syntax-error-1/#post-2317319)
 * Or let the install create wp-config.php for you.
 *  Thread Starter [justchillz](https://wordpress.org/support/users/justchillz/)
 * (@justchillz)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/parse-syntax-error-1/#post-2317334)
 * Wp-config details are correct. I’ve rechecked it.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/parse-syntax-error-1/#post-2317336)
 * You have introduced an error into your wp-config.php file. Delete it and let 
   the install create wp-config.php for you.
 *  Thread Starter [justchillz](https://wordpress.org/support/users/justchillz/)
 * (@justchillz)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/parse-syntax-error-1/#post-2317660)
 * Have done this but error still appears on wp-login … my site is opening but displays
   the fresh wordpress file … all my previous posts seems to ve gone …
 *  Thread Starter [justchillz](https://wordpress.org/support/users/justchillz/)
 * (@justchillz)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/parse-syntax-error-1/#post-2317774)
 * thnx esmi u r wright my config file was in error.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Parse Syntax Error’ is closed to new replies.

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [justchillz](https://wordpress.org/support/users/justchillz/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/parse-syntax-error-1/#post-2317774)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
