Support » Installing WordPress » syntax error, unexpected T_VARIABLE

  • I am trying to install WordPress, I followed the directions created the database edited the wp-config.php as I was suppose to and uploaded via FTP when I try to install I get this error

    Parse error: syntax error, unexpected T_VARIABLE in /home/content/r/u/l/rule51/html/sites/mikedifilippo/blog/wp-includes/option.php on line 225

    Any help?

Viewing 7 replies - 1 through 7 (of 7 total)
  • This error usually means you are missing {}} somewhere in the code. Remove all and try a new wp install

    I tried downloading the .zip again and re FTPing the files still with the same error. I only changed the parameters outlined in the 5 minute tutorial.

    Unusual ! Any chance you removed ‘ ‘ from config.php. When changing names and keys
    Are you downloading wp direct from here ?

    Also what version php is on server ?

    I do not believe I removed anything from the config.php plus I also tried just renaming the config.php with out adding the database information and the same error is given. The download is direct from the download page yes. PHP version is 4.x

    i have same problem, i’m trying to resolve now, i try 3 times to download wordpress always same.

    good luck

    i found the solutions for you :

    create a new file with name .htaccess.

    on this file you put this string : SetEnv PHP_VER 5

    after you have to upload on the main directory and for me it ok now.

    You need to update the version php as per codex


Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘syntax error, unexpected T_VARIABLE’ is closed to new replies.