Title: Installation -Parse error: syntax error, unexpected T_STRING
Last modified: September 18, 2017

---

# Installation -Parse error: syntax error, unexpected T_STRING

 *  Resolved [lydp101](https://wordpress.org/support/users/lydp101/)
 * (@lydp101)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/installation-parse-error-syntax-error-unexpected-t_string/)
 * Hi I just installed the plugin and when I went to activate it, I received the
   following:
 * Parse error: syntax error, unexpected T_STRING in /home/content/60/8609160/html/
   members/wp-content/plugins/simple-membership/classes/class.swpm-auth.php on line
   351
 * Can anyone offer some assistance or help on how I can resolve this in order to
   activate and use the plugin. Thanks.

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

 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/installation-parse-error-syntax-error-unexpected-t_string/#post-9507961)
 * Hi, this error is probably caused by your server running and old PHP version.
   Can you find out what PHP version your server is currently using?
 * Thank you
 *  Thread Starter [lydp101](https://wordpress.org/support/users/lydp101/)
 * (@lydp101)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/installation-parse-error-syntax-error-unexpected-t_string/#post-9508090)
 * I found the solution thank you. Just upgrade your php to 5.6. It works fine then.
 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/installation-parse-error-syntax-error-unexpected-t_string/#post-9508131)
 * I am happy to hear 🙂
 * Enjoy the plugin.

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

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

 * ![](https://ps.w.org/simple-membership/assets/icon-128x128.png?rev=974529)
 * [Simple Membership](https://wordpress.org/plugins/simple-membership/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-membership/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-membership/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-membership/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-membership/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-membership/reviews/)

## Tags

 * [Install](https://wordpress.org/support/topic-tag/install/)
 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)
 * [T_STRING](https://wordpress.org/support/topic-tag/t_string/)

 * 3 replies
 * 2 participants
 * Last reply from: [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/installation-parse-error-syntax-error-unexpected-t_string/#post-9508131)
 * Status: resolved