Title: Parse error: syntax error, unexpected T_VARIABLE
Last modified: August 19, 2016

---

# Parse error: syntax error, unexpected T_VARIABLE

 *  [spintacular](https://wordpress.org/support/users/spintacular/)
 * (@spintacular)
 * [16 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_variable-2/)
 * I have followed the tutorial given on WordPress.org for how to install a blog
   hosted on your own server. Dreamhost set up the database for me with one-click
   installation. I edited the wp.config file and uploaded it onto the site. I am
   now getting this error message:
 * “Parse error: syntax error, unexpected T_VARIABLE in /home/chloeayres/spintacular.
   com/blog/wp-config.php on line 57”
 * Here is line 57 of the code:
 * $table_prefix = ‘wp_’;
 * My blog is the only blog on my server and the only database. Can anyone tell 
   me what’s wrong with that code? I would greatly appreciate it!! Thanks so much!

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_variable-2/#post-1507059)
 * Try creating a new wp-config,.php file and, this time, ensure that you use a 
   plain text editor and that you do not add, or remove, any more than you should.

Viewing 1 replies (of 1 total)

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

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_variable-2/#post-1507059)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
