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:
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
make install
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.
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:
./buildconf
If you see feedback saying you should run aclocal then, you guessed it, run aclocal:
aclocal
now:
./configure
and finally:
make
make install
make install
This should take care of the basic PHP-Gtk functionality and the normal PHP functions.