PHP-GTK
Saturday, July 04, 2009 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousHow to install
How to use PHP-GTKnext

Last updated: Tue, 28 Mar 2006
view this page in English | Czech | French | German | Italian | Japanese | Brazilian | Russian | Spanish | Plain HTML

Debian users can now download a PHP-GTK binary from http://www.debian.org/.

PHP GTK depends on a number of packages, which need to be installed before starting the PHP-GTK installation:

We suggest you get the latest source from http://gtk.php.net/ or from anonymous CVS http://www.php.net/anoncvs.php.

The wiki contains an installation howto with screenshots describing how to install PHP-Gtk from CVS verbosely.

Run the ./buildconf script that is inside the distribution. This will set up the necessary files and create the configure file. Next, run ./configure. This will check that you have a correct version of GTK+ 1.2.x (1.2.6 or above, available from http://www.gtk.org/download/) and other files required for compilation, and will then create the needed Makefiles.

./configure can also be used to build the extra widgets, e.g. ./configure --enable-scintilla --enable-gtkhtml. To list all the available options use ./configure --help. Remember that each extra widget may have a number of dependencies that need to be available for the build to be successful.

Finally, run make to compile the extension. Some source files are generated from .defs files by the code generator. If you see messages like "Could not write...", it means that the listed GTK+ objects or features are not yet supported. If the compilation is successful, run make install to install the extension into your default PHP extension directory (usually /usr/local/lib/php/extensions).

Troubleshooting: common problems from ./configure or make

To test the extension, try running the example scripts in the test/ directory. These also provide demonstrations of some of the ways in which PHP-GTK and its extensions can be used.


User Contributed Notes
Installing PHP-GTK Under Unix
add a note about notes
There are no user contributed notes for this page.


previousHow to install
How to use PHP-GTKnext

Last updated: Tue, 28 Mar 2006
view this page in English | Czech | French | German | Italian | Japanese | Brazilian | Russian | Spanish | Plain HTML


credits 

PHP  Copyright © 2001-2009 The PHP Group
 All rights reserved.
Last updated: Tue Mar 28 03:49:37 2006 UTC