include wp-blog-header not working on MAMP

You’re making something completely wrong.

Header comment

In your main file, you need the following comment on top (ex. taken from Contact form 7):

<?php
/*
Plugin Name: Contact Form 7
Plugin URI: http://contactform7.com/
Description: Just another contact form plugin. Simple but flexible.
Author: Takayuki Miyoshi
Author URI: http://ideasilo.wordpress.com/
Text Domain: wpcf7
Domain Path: /languages/
Version: 3.1.2
*/

WP will detect the plugin automagically. Then simply define/require/include what you need. The plugin will then be loaded just before the plugins_loaded hook, which is the first one available to you. You then can use the complete WP environment.