Title: Parse error: syntax error, unexpected $end..
Last modified: August 18, 2016

---

# Parse error: syntax error, unexpected $end..

 *  [banter](https://wordpress.org/support/users/banter/)
 * (@banter)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-end-3/)
 * I received this message when trying to install wp.
 * Full error message:
    Parse error: syntax error, unexpected $end in …root\blog\
   wp-includes\locale.php on line 22
 * I can’t work out what is line 22 when I open the file in notepad.
    Can anyone
   help? Many thanks 🙂 B

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

 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-end-3/#post-475760)
 * I’d re-upload the wp-includes directory to make sure you don’t have a file corrupted
   by the initial load.
 * Make sure your FTP client is in text/ascii mode when uploading the php files.
 *  Thread Starter [banter](https://wordpress.org/support/users/banter/)
 * (@banter)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-end-3/#post-476019)
 * Thanks, all fixed now 🙂

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

The topic ‘Parse error: syntax error, unexpected $end..’ is closed to new replies.

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [banter](https://wordpress.org/support/users/banter/)
 * Last activity: [19 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-end-3/#post-476019)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
