|
|
UbuntuHowto
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.
Sign in to add a comment

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