The error you're getting is what happens when referencing a php var without the php engine... You could install Apache, MySQL, & php separately to set up your testing environment, or just use a stand alone testing server to keep things simple (I use Joomla Stand Alone Server)