Title: Parse error: parse error, unexpected T_STRING
Last modified: August 18, 2016

---

# Parse error: parse error, unexpected T_STRING

 *  [Rebekah](https://wordpress.org/support/users/rebekah/)
 * (@rebekah)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/parse-error-parse-error-unexpected-t_string-2/)
 * Hi all, I’m trying to install WordPress on a new domain – I’ve installed it successfully
   on at least three others – and I’m getting this error:
 * Warning: Unexpected character in input: ‘\’ (ASCII=92) state=1 in /home/politere/
   public_html/wp-config.php on line 2
 * Parse error: parse error, unexpected T_STRING in /home/politere/public_html/wp-
   config.php on line 2
 * Now, I know there are not any ‘\’ characters on wp-config.php. And the database
   detail section on that file looks PERFECT.
 * Could it have anything to do with uploading WP to public_html instead of public_html/
   blog?
 * What am I doing wrong here?

Viewing 1 replies (of 1 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/parse-error-parse-error-unexpected-t_string-2/#post-477980)
 * Maybe delete and reupload the wordpress files.
 * Resource:
    [Using_FileZilla](http://codex.wordpress.org/Using_FileZilla)

Viewing 1 replies (of 1 total)

The topic ‘Parse error: parse error, unexpected T_STRING’ is closed to new replies.

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 1 reply
 * 2 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [19 years, 5 months ago](https://wordpress.org/support/topic/parse-error-parse-error-unexpected-t_string-2/#post-477980)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
