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:


0 Comments.