version=pmwiki-1.0.5 newline=˛ text=The below instructions are for using Php GTK 2. If you need PHP-gtk1 see Main.Gtk1OnMacOSX . ˛˛Here is how I got PHP-GTK working on OSX these instructions do need˛refinement:˛˛Requires˛Mac OS X 10.3 or later˛XCode˛BSD Tools˛X11 SDK˛PHP 5.1˛DarwinPorts˛˛port install gtk˛˛PHP-GTK2˛autoconf˛pkgconfig˛glib2-devel˛gtk2-devel˛ atk-devel˛ fontconfig-devel˛ freetype-devel˛ pango-devel˛ xorg-x11-devel˛˛Download PHP 5.1.x˛http://www.php.net/downloads.php˛˛Try using the latest PHP 5_2 version if you recieve errors like /usr/bin/ld: multiple definitions of symbol _array_globals.˛˛./configure --disable-cgi˛make˛make install˛˛Download Latest CVS PHP-GTK2˛cvs -d :pserver:cvsread@cvs.php.net:/repository co php-gtk˛˛./buildconf --with-phpize=/usr/local/bin/phpize˛./configure --disable-libglade --disable-scrollpane --disable-sqpane˛--disable-piemenu --disable-spaned --disable-combobutton˛--with-php-config=/usr/local/bin/php-config˛make˛make install˛˛cp php.ini-recommended /usr/local/lib/php.ini˛˛˛php.ini˛Change˛extension_dir = "./"˛extension_dir = "/usr/local/lib/php/extensions"˛˛Add˛extension=php_gtk2.so˛˛Move˛php_gtk2.so˛from˛/usr/local/lib/php/extensions/no-debug-non-zts-20050922˛to˛/usr/local/lib/php/extensions/˛˛And then I would use php -c location_of_php.ini location_of_application time=1153091819 diff:1140166214:1140166214:=1,60c1˛< Here is how I got PHP-GTK working on OSX these instructions do need˛< refinement:˛< ˛< Requires˛< Mac OS X 10.3 or later˛< XCode˛< BSD Tools˛< X11 SDK˛< PHP 5.1˛< DarwinPorts˛< ˛< port install gtk˛< ˛< PHP-GTK2˛< autoconf˛< pkgconfig˛< glib2-devel˛< gtk2-devel˛< atk-devel˛< fontconfig-devel˛< freetype-devel˛< pango-devel˛< xorg-x11-devel˛< ˛< Download PHP 5.1.x˛< http://www.php.net/downloads.php˛< ˛< ./configure --disable-cgi˛< make˛< make install˛< ˛< Download Latest CVS PHP-GTK2˛< cvs -d :pserver:cvsread@cvs.php.net:/repository co php-gtk˛< ˛< ./buildconf --with-phpize=/usr/local/bin/phpize˛< ./configure --disable-libglade --disable-scrollpane --disable-sqpane˛< --disable-piemenu --disable-spaned --disable-combobutton˛< --with-php-config=/usr/local/bin/php-config˛< make˛< make install˛< ˛< cp php.ini-recommended /usr/local/lib/php.ini˛< ˛< ˛< php.ini˛< Change˛< extension_dir = "./"˛< extension_dir = "/usr/local/lib/php/extensions"˛< ˛< Add˛< extension=php_gtk2.so˛< ˛< Move˛< php_gtk2.so˛< from˛< /usr/local/lib/php/extensions/no-debug-non-zts-20050922˛< to˛< /usr/local/lib/php/extensions/˛< ˛< And then I would use php -c location_of_php.ini location_of_application˛\ No newline at end of file˛---˛> Describe InstallingOnMacOSX here.˛\ No newline at end of file˛ author=Anant author:1140166214=Christopher Logan host:1140166214=62.101.83.66 name=PhpGtk2.InstallingOnMacOSX host=59.92.132.7 agent=Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.4) Gecko/20060613 Camino/1.0.2 rev=3 diff:1149307873:1140166214:=1,2d0˛< The below instructions are for using Php GTK 2. If you need PHP-gtk1 see Main.Gtk1OnMacOSX . ˛< ˛ author:1149307873=Benjamin Smith host:1149307873=63.195.17.22 diff:1153091819:1149307873:minor=30,31d29˛< Try using the latest PHP 5_2 version if you recieve errors like /usr/bin/ld: multiple definitions of symbol _array_globals.˛< ˛ author:1153091819=Anant host:1153091819=59.92.132.7