Having Apache + PHP + MySQL on Fedora 17 Guest on VirtualBox for Mac OSX Lion

Coming soon. The end result will be

  1. web server and db server will be on guest virtual
  2. PHP IDE will be in Host
  3. Access web server and db server via host

PHP Parse Error: syntax error, unexpected $end on wordpress

You might encounter this error

Parse error: syntax error, unexpected $end in C:\Program Files\Apache Group\Apache2\htdocs\wordpress\wp-content\themes\hemingway\functions.php on line 647

when installing new themes for WordPress. I did encounter this when i have

  • Apache 2.0.63
  • PHP 5.2.6

running on my server.

Continue reading