PhpGtk2.InstallingOnMacOSX 3.3 KB

123456789101112131415161718
  1. version=pmwiki-1.0.5
  2. newline=²
  3. 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
  4. time=1153091819
  5. 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²
  6. author=Anant
  7. author:1140166214=Christopher Logan
  8. host:1140166214=62.101.83.66
  9. name=PhpGtk2.InstallingOnMacOSX
  10. host=59.92.132.7
  11. agent=Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.4) Gecko/20060613 Camino/1.0.2
  12. rev=3
  13. diff:1149307873:1140166214:=1,2d0²< The below instructions are for using Php GTK 2. If you need PHP-gtk1 see Main.Gtk1OnMacOSX . ²< ²
  14. author:1149307873=Benjamin Smith
  15. host:1149307873=63.195.17.22
  16. 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.²< ²
  17. author:1153091819=Anant
  18. host:1153091819=59.92.132.7