sohdubom wrote:
How to config the internal TM preview browser to run the MAMP PHP engine?
TextMate respects the TM_PHP environment variable if it is set. In TM's preferences, choose Advanced > Shell Variables, and add TM_PHP with the full path to the php binary (in your case, probably something like /Applications/MAMP.app/Contents/Resources/bin/php (total guess, I've never used a mamp before)).
HTH
\k