Title: Parse error in wp-config
Last modified: August 21, 2016

---

# Parse error in wp-config

 *  Resolved [cloudcomputingtopics](https://wordpress.org/support/users/cloudcomputingtopics/)
 * (@cloudcomputingtopics)
 * [13 years ago](https://wordpress.org/support/topic/parse-error-in-wp-config/)
 * It seems I messed up my wp-config.php file and I cannot get it to work. When 
   going to my site I get:
 * > Parse error: syntax error, unexpected $end in /home/content/32/5463532/html/
   > wp-config.php on line 1
 * I have tried adapting wp.config-sample.php and save it as wp-config.php, but 
   it doesn’t matter.
 * Would appreciate any help, as my site is currently down!

Viewing 1 replies (of 1 total)

 *  Thread Starter [cloudcomputingtopics](https://wordpress.org/support/users/cloudcomputingtopics/)
 * (@cloudcomputingtopics)
 * [13 years ago](https://wordpress.org/support/topic/parse-error-in-wp-config/#post-3670600)
 * I managed to figure out the problem. i needed to download a new wp-config-sample.
   php (version 3.5.1) and edit it accordingly, save as wp-config.php and upload.
   It is now working correctly.

Viewing 1 replies (of 1 total)

The topic ‘Parse error in wp-config’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [cloudcomputingtopics](https://wordpress.org/support/users/cloudcomputingtopics/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/parse-error-in-wp-config/#post-3670600)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
