PHPBuilder - Installing PHP-GTK on Linux

RSS Twitter

Installing PHP-GTK on Linux

by: John Starkey
April 1, 2003

One of the better inventions of the 21st Century is with no doubt PHP-Gtk. Released in March 2001, in an effort to show that PHP isn't just a web scripting language, PHP-Gtk offers coders running GTK the opportunity to create custom desktop applications without having to meddle outside of their language of choice.
In this article, I'm going to walk you through the process of installing PHP-Gtk on a Linux desktop. I'm running KRUD 8, from, using Gnome, but everything here should work with any distro.
As a side note, PHP-Gtk is also available to Windows users. Unfortunately, I rarely delve into the world of Windows, so I won't attempt to overlap. It'd be great if someone could chime in with another article centering on the Windows install. Until, then I'd recommend posting in our PHP Install forum, searching the PHP-Gtk archive or posting on the general mailing list if you run into a snag. The last two can be found here:
What You'll Need
As you probably guessed, you will need a Linux desktop running Gtk. The developers are currently planning to implement a Gtk2 version, but as of this writing, it's not yet available and there is no solid target date. No worries though if you're running Gtk2, the Gtk functionality should still work fine.
You'll also need the latest version of PHP and PHP-Gtk. "make" and a C compiler will also be needed in order to compile the source. Both of these are standard includes with most Linux distros and can be easily installed using your normal package manager.

Next Page »

Comment and Contribute

Your comment has been submitted and is pending approval.

John Starkey



(Maximum characters: 1200). You have characters left.