My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
UbuntuHowto  
Updated Apr 27, 2008 by ryan.had...@gmail.com

Ubuntu php-gtk w/gtkhtml howto

  • sudo apt-get install build-essential php5-cli php5-dev php5-gd libgtk2.0-dev libglade2-dev libnotify-bin libgtkspell-dev
  • wget http://gtk.php.net/do_download.php?download_file=php-gtk-2.0.0.tar.gz
  • tar xzvf php-gtk-2.0.0.tar.gz
  • cd php-gtk-2.0.0
  • ./buildconf
  • ./configure --with-spell
  • make
  • sudo make install
  • sudo vim /etc/php5/cli/php.ini # or editor of choice if not vim
  • Add to the bottom "extension=php_gtk2.so"
  • Test that it works with "php -m | grep gtk". You should get "php-gtk" returned.
Comment by project member bar...@gmail.com, Apr 25, 2008

Add "--with-spell" to the configure line to get automatic spell-checking support:

./configure --with-html --with-spell
Comment by project member bar...@gmail.com, Mar 9, 2009

For the latest version of php-gtk, goto http://gtk.php.net/ and click 'Downloads' .. as of this writing 2.0.1 is out.


Sign in to add a comment
Powered by Google Project Hosting