Title: parse error, unexpected T_STRING
Last modified: August 19, 2016

---

# parse error, unexpected T_STRING

 *  Resolved [ivyleaf](https://wordpress.org/support/users/ivyleaf/)
 * (@ivyleaf)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/parse-error-unexpected-t_string/)
 * The error message:
 * **Parse error**: parse error, unexpected T_STRING in **/share/storage/04/su/_mydomain_/
   wordpress/wp-config.php** on line **2**
 * This is my script
 * >  <?php
   >  // ** MySQL settings ** // define(‘DB_NAME’, ‘_mydomain_/_pn’); // 
   > The name of the database define(‘DB_USER’, ‘_mydomain_/’); // Your MySQL username
   > define(‘DB_PASSWORD’, ‘******’); // …and password define(‘DB_HOST’, ‘humbug’);//
   > 99% chance you won’t need to change this value
   > // You can have multiple installations in one database if you give each a unique
   > prefix
   >  $table_prefix = ‘wp_’; // Only numbers, letters, and underscores please!
   > // Change this to localize WordPress. A corresponding MO file for the
   >  // chosen
   > language must be installed to wp-includes/languages. // For example, install
   > de.mo to wp-includes/languages and set WPLANG to ‘de’ // to enable German language
   > support. define (‘WPLANG’, ”);
   > /* That’s all, stop editing! Happy blogging. */
   > define(‘ABSPATH’, dirname(__FILE__).’/’);
   >  require_once(ABSPATH.’wp-settings.
   > php’); ?>

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

 *  Thread Starter [ivyleaf](https://wordpress.org/support/users/ivyleaf/)
 * (@ivyleaf)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/parse-error-unexpected-t_string/#post-705375)
 * Sorry, I paste the exact one again.
 * <?php
    // ** MySQL settings ** // define(‘DB_NAME’, ‘mydomain_**’); // The name
   of the database define(‘DB_USER’, ‘mydomain’); // Your MySQL username define(‘
   DB_PASSWORD’, ‘************’); // …and password define(‘DB_HOST’, ‘humbug’); //
   99% chance you won’t need to change this value
 * // You can have multiple installations in one database if you give each a unique
   prefix
    $table_prefix = ‘wp_’; // Only numbers, letters, and underscores please!
 * // Change this to localize WordPress. A corresponding MO file for the
    // chosen
   language must be installed to wp-includes/languages. // For example, install 
   de.mo to wp-includes/languages and set WPLANG to ‘de’ // to enable German language
   support. define (‘WPLANG’, ”);
 * /* That’s all, stop editing! Happy blogging. */
 * define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.
   php’); ?>
 *  Thread Starter [ivyleaf](https://wordpress.org/support/users/ivyleaf/)
 * (@ivyleaf)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/parse-error-unexpected-t_string/#post-705426)
 * What I did is to follow [the installation guide](http://usertools.plus.net/tutorials/id/57)
   for Plusnet user then all the problems are solved automatically.
 * It is only usful for Plusnet users.

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

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

## Tags

 * [T_STRING](https://wordpress.org/support/topic-tag/t_string/)
 * [wp-config.php](https://wordpress.org/support/topic-tag/wp-config-php/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 1 participant
 * Last reply from: [ivyleaf](https://wordpress.org/support/users/ivyleaf/)
 * Last activity: [18 years, 2 months ago](https://wordpress.org/support/topic/parse-error-unexpected-t_string/#post-705426)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
