Title: Parse error: syntax error,
Last modified: May 13, 2020

---

# Parse error: syntax error,

 *  [fred2397](https://wordpress.org/support/users/fred2397/)
 * (@fred2397)
 * [6 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-172/)
 * Version Apache:
    2.4.9 – Documentation Version de PHP: 5.5.12 – Documentation
   Server Software: Apache/2.4.9 (Win32) PHP/5.5.12
 * ( ! ) Parse error: syntax error, unexpected ‘.’, expecting ‘&’ or variable (T_VARIABLE)
   in C:\wamp\www\wordpress\wp-includes\functions.php on line 1081
 * i heve windows 10
    -  This topic was modified 6 years ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
    -  This topic was modified 6 years ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-172/#post-12823720)
 * WordPress requires a minimum of 5.6.something and really should be running on
   PHP 7.3 or 7.4. You need to fix your WAMP stack to use a newer version of PHP.
 * The syntax error indicates you may have a broken version of that file, so I’d
   download a new copy of WP and replace the files on your PC.
 *  Thread Starter [fred2397](https://wordpress.org/support/users/fred2397/)
 * (@fred2397)
 * [6 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-172/#post-12823755)
 * please could you send me the links that what i need like XAMPP and WP to have
   what is s required
    I am starter in this domain
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-172/#post-12823762)
 * [https://www.apachefriends.org/docs/](https://www.apachefriends.org/docs/)
 * Are you using the latest version of XAMPP?
 * Sorry, I don’t use it and can’t really point you to much.
 * When I do need a quick’n’dirty local environment, I use “local” from [https://localwp.com](https://localwp.com)
    -  This reply was modified 6 years ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *  Thread Starter [fred2397](https://wordpress.org/support/users/fred2397/)
 * (@fred2397)
 * [6 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-172/#post-12823787)
 * I already download the latest version of WAMPP and i had the error sent in the
   post, may be the cause of this error is the WP, please what is the version that
   i can use to start
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-172/#post-12823791)
 * For PHP? Try 7.3. WordPress? 5.4.1.
 *  Thread Starter [fred2397](https://wordpress.org/support/users/fred2397/)
 * (@fred2397)
 * [6 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-172/#post-12823805)
 * how can i upgrade my version of PHP if i use easyphp and the version of php is
   5.4.24
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-172/#post-12823812)
 * I’ll ask the folks in the back room if they can jump in. I don’t use Windows,
   xampp, or easyphp. You might give local a try (link above) in the meantime.
 *  [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [6 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-172/#post-12823865)
 * I’m not familiar with EasyPHP but WAMP should have everything you need to run
   a staging site on Windows. Since you’ve mentioned that you have WAMP installed
   the below is instructions based on that. Additionally, this [blog has helpful instructions](http://blog.astemplates.com/change-php-version-wamp/)
   with screenshots that are still relevent.
 * 1) Start up WAMP and wait for the WAMP icon to turn green in your Windows Taskbar.
 * 2) Once the WAMP icon is green, you may click it to bring up options.
 * 3) In the options list, navigate to PHP > Versions > 7.x
 * 4) WAMP will need to restart and once it’s green you should be good to go.
 * If the above instructions are unclear I highly suggest checking out the previously
   linked blog as the screenshots may help clear things up. Hopefully this helps!

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

The topic ‘Parse error: syntax error,’ is closed to new replies.

## Tags

 * [Parse error: syntax error](https://wordpress.org/support/topic-tag/parse-error-syntax-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 3 participants
 * Last reply from: [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-172/#post-12823865)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
