Title: wp-admin/install.php producing a Parse error: syntax error, unexpected &#039;&#039;);&#039; (T_
Last modified: August 21, 2016

---

# wp-admin/install.php producing a Parse error: syntax error, unexpected '');' (T_

 *  Resolved [tanisbr1](https://wordpress.org/support/users/tanisbr1/)
 * (@tanisbr1)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/wp-admininstallphp-producing-a-parse-error-syntax-error-unexpected-t_/)
 * I edited my config file and I’ve checked for syntax errors and I can’t find any.
   I put in my database name, user name and password and did the wordpress key generator
   to generate random keys ad salts for wordpress login and security. That is all
   I changed.
 * The error I get when I go to [http://mysitename.com/wp-admin/install.php](http://mysitename.com/wp-admin/install.php)
   is:
 * Parse error: syntax error, unexpected ”);’ (T_CONSTANT_ENCAPSED_STRING) in /home/
   username/public_html/wp-config.php on line 25

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/wp-admininstallphp-producing-a-parse-error-syntax-error-unexpected-t_/#post-4625575)
 * Parse errors:
 * Syntax Error
 * A syntax error means that you have made a mistake while creating your PHP structure.
   You could, for example, be;
    ■ Missing a ; at the end of an individual line. 
   ■ Using curly quotation marks. ■ Missing a curly bracket.
 * When this error appears it will tell you which file the error appears in (functions.
   php for example) and approximately which line (it may not always be the exact
   line so be sure to check just before and just after) in the code.
 * Unexpected
 * If you are receiving an error which says ‘parse error: unexpected’ this usually
   means that you have forgotten to include a character. The most common are:
    ■
   Unexpected ‘=’ : you have forgotten to include the $ when referencing a variable
   ■ Unexpected ‘)’ : you have forgotten to include the opening bracket ( ■ Unexpected‘(‘:
   you have forgotten to include the closing bracket ) ■ Unepxpected T_STRING: you
   have forgotten a quotation mark or a semi-colon at the end of the previous line
   ■ Unexpected T_ELSE: you have an else statement with no opening if statement
 *  [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/wp-admininstallphp-producing-a-parse-error-syntax-error-unexpected-t_/#post-4625595)
 * It’s also possible that the actual password you use contains a character that’s
   interpreted improperly by PHP (such as opening/closing brackets, apostrophes 
   or quotes).
 *  Thread Starter [tanisbr1](https://wordpress.org/support/users/tanisbr1/)
 * (@tanisbr1)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/wp-admininstallphp-producing-a-parse-error-syntax-error-unexpected-t_/#post-4625601)
 * i used the wordpress salt and key generator. It generated passwords with the 
   opening and closing brackets. I will take those out and see if that works.
 *  Thread Starter [tanisbr1](https://wordpress.org/support/users/tanisbr1/)
 * (@tanisbr1)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/wp-admininstallphp-producing-a-parse-error-syntax-error-unexpected-t_/#post-4625612)
 * I tried everything and nothing worked. I finally logged into my c panel with 
   go daddy and under applications, I downloaded the one called word press. It walks
   you through it basically does all the heavy lifting with your set up for you.
   No going in and having to manually change the config page or even bother FTPing
   anything…That was so much easier.
 * Thanks Tara and Senff for your help. I found the information helpful and interesting.
   Much appreciated.
 * I’m going to set up all of my wordpress websites with Godaddy from now on though,
   much easier!
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/wp-admininstallphp-producing-a-parse-error-syntax-error-unexpected-t_/#post-4625616)
 * Glad you got it sorted 🙂

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

The topic ‘wp-admin/install.php producing a Parse error: syntax error, unexpected'');'(
T_’ is closed to new replies.

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 5 replies
 * 3 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/wp-admininstallphp-producing-a-parse-error-syntax-error-unexpected-t_/#post-4625616)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
