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

---

# syntax error, unexpected T_VARIABLE

 *  [rynski](https://wordpress.org/support/users/rynski/)
 * (@rynski)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-t_variable/)
 * i keep getting an ERROR message when i go to install wordpress after uploading
   all files to my server.
 * the message is:
 * Parse error: syntax error, unexpected T_VARIABLE in /home/….bunch of numbers….
   web/wp-config.php on line 62
 * xxxx
    i edited the wp-config.php as per the online instructions. line 62 happens
   to be the line about wp- prefixes, which i did not change at all.
 * any ideas how to fix this?
    thanks, ryn.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-t_variable/#post-1820412)
 * Try creating a fresh copy of wp-config.php. You have inadvertently removed, or
   added, something incorrectly.
 *  Thread Starter [rynski](https://wordpress.org/support/users/rynski/)
 * (@rynski)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-t_variable/#post-1820418)
 * thanks, esmi – will do!
 *  [taswork11](https://wordpress.org/support/users/taswork11/)
 * (@taswork11)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-t_variable/#post-1820628)
 * Hi,
    I am having this same error, I have one blog successfully installed but 
   when I use exactly the same details in the wp-config.php for the second blog 
   and only change the name of the blog on the table prefix line I get this error–
   Parse error: syntax error, unexpected T_VARIABLE ([http://www.doctemps.co.uk/wp-admin/install.php](http://www.doctemps.co.uk/wp-admin/install.php)).
   I am using 1and1 to host my blogs and only have a single MySQL database, do you
   know if there are any known issues with 1and1? Thanks Toni

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

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

## Tags

 * [Installation Error Message](https://wordpress.org/support/topic-tag/installation-error-message/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 3 participants
 * Last reply from: [taswork11](https://wordpress.org/support/users/taswork11/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-t_variable/#post-1820628)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
