#native_company# #native_desc#

Installing PHP-GTK on Linux Page 2

By John Starkey
on April 1, 2003

Installing the PHP binary
Once you have the source on your drive and decompressed, you’ll need to run the PHP configure script. To
keep things simple, this first time around, I’ll use a very basic config. cd into your PHP source
directory and run:
./configure –with-mysql –with-gettext
and then:
make install
And you should be all set to run PHP via command line.
Installing PHP-Gtk
Once you have PHP installed, it’s time to move on to PHP-Gtk. This is the part that can sometimes be a bit
tricky. If you run into a roadblock, I recommend just starting over and be sure to include all the steps. I
once spent hours trying to track down an issue and it turned out that I had forgotten to run buildconf beforehand.
Provided all the planets are aligned, the install should be very simple if you follow all the steps below.
cd into your PHP-Gtk directory and run:
If you see feedback saying you should run aclocal then, you guessed it, run aclocal:
and finally:
make install
This should take care of the basic PHP-Gtk functionality and the normal PHP functions.