Title: Parse Error with OPTION.PHP file
Last modified: August 20, 2016

---

# Parse Error with OPTION.PHP file

 *  Resolved [wolfdenptsa](https://wordpress.org/support/users/wolfdenptsa/)
 * (@wolfdenptsa)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/parse-error-with-optionphp-file/)
 * My website home page produces the following message :
    Parse error: syntax error,
   unexpected T_VARIABLE in /home/(my web)/public_html/wp/wp-includes/option.php
   on line 225
 * I get the same error message when I try to login as the Admin.
 * I am running WordPress 3.4. Everything was fine a few days ago – I changed nothing!
   I also re-uploaded a fresh copy of option.php. No change.

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

 *  Thread Starter [wolfdenptsa](https://wordpress.org/support/users/wolfdenptsa/)
 * (@wolfdenptsa)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/parse-error-with-optionphp-file/#post-2825336)
 * Sorry – forgot to include that I’m running PHP version 5.2.17
 *  [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/parse-error-with-optionphp-file/#post-2825388)
 * I have a similar issue – things were working fine, then overnight this problem
   arose.
 * A check shows that the server version of option.php is identical to the downloaded
   original.
 * Update: a further check suggests this is an issue with my server host – other
   sites of mine are showing messages of ‘Your server is running PHP version 4.4.9
   but WordPress 3.3.2 requires at least 5.2.4.’ – so that suggests the cause of
   my problem is non-WP.
 *  Thread Starter [wolfdenptsa](https://wordpress.org/support/users/wolfdenptsa/)
 * (@wolfdenptsa)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/parse-error-with-optionphp-file/#post-2825450)
 * Problem fixed. For some reason my host provider disabled PHP – why I have no 
   idea ….
 *  [humbucker](https://wordpress.org/support/users/humbucker/)
 * (@humbucker)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/parse-error-with-optionphp-file/#post-2825544)
 * Guys, if you entounter this problem,
    be sure your server is running PHP5.
 * Otherwise, enable it yourselves by adding a .htaccess file in your directory 
   that contains this string : SetEnv PHP_VER 5
 * Do not edit your WordPress core files! 😉
 *  [benjancewicz](https://wordpress.org/support/users/benjancewicz/)
 * (@benjancewicz)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/parse-error-with-optionphp-file/#post-2825552)
 * Thanks humbucker, that solved my issue too!
 *  [damdo74](https://wordpress.org/support/users/damdo74/)
 * (@damdo74)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/parse-error-with-optionphp-file/#post-2825553)
 * Hi all,
    even after setting up an .htaccess file with the string : SetEnv PHP_VER
   5 I still encouter the error : Parse error: syntax error, unexpected T_VARIABLE
   in /homepages/25/d314414797/htdocs/wp-includes/option.php on line 225
 * I called my hosting provider 1&1 and they won’t give me any kind of support on
   this.
 * Can anyone point me toward solutions ?
 * I appreciate.
    Thanks
 *  [kaskelinefilmacademy](https://wordpress.org/support/users/kaskelinefilmacademy/)
 * (@kaskelinefilmacademy)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/parse-error-with-optionphp-file/#post-2825568)
 * Hi damdo74,
 * i had the same problem with the same hoster. you have to log in to 1und1 and 
   open “globale php-version”. there you have the choice between php 4, php 5 and
   php dev.
 * i first set it to php 5 and it didn’t help. if you set it to php dev everything
   should work.
 * i assume 1und1 categorizes all versions above 5.0 as dev.
 * hope this helps, markus
 *  [damdo74](https://wordpress.org/support/users/damdo74/)
 * (@damdo74)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/parse-error-with-optionphp-file/#post-2825570)
 * Thanks a lot Markus,
    it did solve my problem. It’s a shame no one at the 1&1
   hotline did not point me toward it.
 *  [Colour Infusion](https://wordpress.org/support/users/colourinfusion/)
 * (@colourinfusion)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/parse-error-with-optionphp-file/#post-2825571)
 * Thanks! Setting the server to PHP-5 solved the issue for me!
 *  [stollo](https://wordpress.org/support/users/stollo/)
 * (@stollo)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/parse-error-with-optionphp-file/#post-2825588)
 * Thank you kaskelinefilmacademy, solved my problem and saved me a few hours of
   research!

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

The topic ‘Parse Error with OPTION.PHP file’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 8 participants
 * Last reply from: [stollo](https://wordpress.org/support/users/stollo/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/parse-error-with-optionphp-file/#post-2825588)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
