Title: error installing &gt; define(&#039;WP_CACHE&#039;, true);
Last modified: August 20, 2016

---

# error installing > define('WP_CACHE', true);

 *  [kat99](https://wordpress.org/support/users/kat99/)
 * (@kat99)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/error-installing-definewp_cache-true/)
 * Hi
    When I install the WP Super Cache, I get as far as….
 * WP_CACHE constant set to false
 * The WP_CACHE constant is used by WordPress to load the code that serves cached
   pages. Unfortunately it is set to false. Please edit your wp-config.php and add
   or edit the following line above the final require_once command:
 * define(‘WP_CACHE’, true);
 * But when I add this code [define(‘WP_CACHE’, true);] to the wp-config.php file
   just above the “/* That’s all, stop editing! Happy blogging. */” the wp admin
   area disappears and I get an error message as follows
 * Parse error: syntax error, unexpected $end in /home/xxxx/public_html/xxxx.com/
   wp-config.php on line 1
 * Any ideas?
    Thanks
 * [http://wordpress.org/extend/plugins/wp-super-cache/](http://wordpress.org/extend/plugins/wp-super-cache/)

The topic ‘error installing > define('WP_CACHE', true);’ is closed to new replies.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [kat99](https://wordpress.org/support/users/kat99/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/error-installing-definewp_cache-true/)
 * Status: not resolved