The easiest way to install PHP-GTK2 on OS X is to use the graphical installer. It can be found http://www.kix.in/php-gtk2/PHP-GTK-2.0.0.dmg