How to fix the error: Parse error: syntax error, unexpected T_CLASS in includes/bootstrap.inc on line 287

While installing drupal, this happened to me.

Just add this to the end of your .htaccess file.

    SetEnv PHP_VER 5
SetEnv REGISTER_GLOBALS 0
SetEnv ZEND_OPTIMIZER 1
SetEnv MAGIC_QUOTES 0

Leave a Reply

Your email address will not be published. Required fields are marked *

Loading Facebook Comments ...
Loading Disqus Comments ...