I find the CVS Version of PHP-GTK to be the most straightforward for a Linux install. The following steps will guarantee you have the most up-to-date version of PHP-GTK.
Figure 7. Cvstage0: Using the terminal to install PHP-GTK over the Internet.
Figure 8. Cvsstage1: Using the terminal to install PHP-GTK over the Internet.
Log into the PHP anonymous CVS server by opening a terminal window.
TYPE: cvs -d :pserver:email@example.com:/repository login (see Figure 7)
TYPE: phpfi at the password prompt and get the PHP-GTK tree.
TYPE: cvs -d :pserver:firstname.lastname@example.org:/repository co -r PHP_GTK_1 php-gtk (see Figure 8)
|Figure 9. Buildconf-configure: Building and configuring PHP-GTK on Linux.|
Move into the PHP-GTK directory source tree.
TYPE: cd php
TYPE: cd php-gtk
Configure and install PHP-GTK in typical Linux fashion.
Note: Configure has a lot of options. For a more complicated build, try typing ./configurehelp first (see Figure 9).
TYPE: make install