Make TextMate run php from a different binary, not the original php

PHPtextmate

I work with php and postgre, and since the stock php doesn't come with postgre I had to install a different php version.

So I installed php5 from this website: http://php-osx.liip.ch

It's a quick install, just downloaded php5 and its modules and put them in a different directory, now everything works, except the TextMate's "php run".

I couldn't find where TextMate makes the call to the php and I wanna change it, any ideas?

Thanks.

Best Answer

Under preferences, go into variables and update (or create) TM_PHP to point to your desired executable. E.g. I have /opt/local/bin/php because I'm using MacPorts.