Title: Parse error: syntax error, unexpected T_STRING in wp-config.php
Last modified: August 21, 2016

---

# Parse error: syntax error, unexpected T_STRING in wp-config.php

 *  Resolved [THEMEDIAFIRE](https://wordpress.org/support/users/themediafire/)
 * (@themediafire)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-wp-configphp-solved/)
 * It is much simpler than looking lines, just add the 1st line of the wp-config.
   php this code:
    <?php define(‘WP_CACHE’, true);
 * – Ready! You will have access to your site again.
 * Developer, do not know what you did, but it’s weird. So I went back to the old.
   I will not upgrade anytime soon, fear of bugs and keep a copy of the old model,
   you can also find here: [http://downloads.wordpress.org/plugin/quick-cache.111203.zip](http://downloads.wordpress.org/plugin/quick-cache.111203.zip)
 * ——————— PT-BR ———————
    É muito mais simples do que olhar as linhas, basta adicionar
   a 1° linha do wp-config.php este código: <?php define(‘WP_CACHE’, true);
 * – Pronto! Você terá acesso ao seu site novamente.
 * Desenvolvedor, não sei o que você fez, mas está tudo estranho. Por isso voltei
   ao antigo. Não vou mais atualizar tão cedo, pelo medo dos bugs e manteria uma
   cópia do modelo antigo, que vocês também podem encontrar aqui: [http://downloads.wordpress.org/plugin/quick-cache.111203.zip](http://downloads.wordpress.org/plugin/quick-cache.111203.zip)
 * [http://wordpress.org/plugins/quick-cache/](http://wordpress.org/plugins/quick-cache/)

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

 *  Plugin Author [WebSharks](https://wordpress.org/support/users/websharks/)
 * (@websharks)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-wp-configphp-solved/#post-4352884)
 * Thanks for reporting this. I believe this a duplicate of:
    [http://wordpress.org/support/topic/new-wp-configphp-permission-issues?replies=3](http://wordpress.org/support/topic/new-wp-configphp-permission-issues?replies=3)
 *  Plugin Author [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-wp-configphp-solved/#post-4353050)
 * [@themediafire](https://wordpress.org/support/users/themediafire/) Have you tried
   the latest version of Quick Cache (v131206)? Are you still experiencing a problem?
 *  Thread Starter [THEMEDIAFIRE](https://wordpress.org/support/users/themediafire/)
 * (@themediafire)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-wp-configphp-solved/#post-4353053)
 * [@raam](https://wordpress.org/support/users/raam/) Dev I, for lack of time, I
   returned: 111203 – She is perfect. Runs well, is light and has the items, which
   only have the PRO. Already made ​​donations to a few years ago with friends. 
   Therefore, I believe that I have helped.
 * Well, I’ll try to find a time and use this new update as soon get it, come back
   here to reply.
 * Regards.
 * — Sorry my Bad english.
 *  Plugin Author [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-wp-configphp-solved/#post-4353055)
 * [@themediafire](https://wordpress.org/support/users/themediafire/) No problem.
   Thank you for the update. 🙂

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

The topic ‘Parse error: syntax error, unexpected T_STRING in wp-config.php’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/quick-cache_efefef.svg)
 * [Quick Cache (Speed Without Compromise)](https://wordpress.org/plugins/quick-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quick-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quick-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/quick-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quick-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quick-cache/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-wp-configphp-solved/#post-4353055)
 * Status: resolved