Installing php-gtk on linux in 7 steps

Now, we going to install ph-gtk with gtkbuilder support. With gtkbuilder support we can use Glade 3 to design our windows applications. Lets do it!...

Step 1 (phpfi as password)

cvs -d :pserver:cvsread@cvs.php.net:/repository checkout -r php_gtk_2_0_1 -P php-gtk

Step 2

cd php-gtk

Step 3

./buildconf

Step 4

./configure

Step 5

make

Step 6

sudo make install

Step 7

Add : "extension=php_gtk2.so" into your php.ini file

Now we just test it... make "cd demos/examples/" and then: "php gtkbuilder_api.php"... if everything is right we going to see I window like this:

PHP-GTK with GtkBuilder support

PHP-GTK with GtkBuilder support

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
Leave a comment

0 Comments.

Leave a Reply


[ Ctrl + Enter ]