Maintained by Leon Pegg <phpgtk.ubunutu@gmail.com>
Hosted by Greyscale <matthew@dontpoke.us>
Advanced Search
How do I use the Repository?
Why does synapic say NOT AUTHENTICATED?
Will there be a package for Blah?
Will there be a package for Blah extension?
I think I found a problem what do I do?
Why do I need another php install?
How do I add extensions?
How do I compile php extensions?
How do I run my php-gtk application?
Were is the php.ini for php-gtk?
To use the repository open software sources
Select the Third Party Software tab
Click the Add button
Set the APT line to
deb http://php-gtk.cynix.info/ dist stable unstable testing
Replace dist with your distribution ( dapper / edgy / feisty )
Click Close then Reload
The packages from the repository will now apear in Synaptic in the php-gtk catagory
This is because our repository is not signed, it is nothing to worry about.
Will there be a package for Blah?
It's posible go to the support page and fill in the form someone will reply.
Managing these packages is a lot of work so I can not create packages for everything.
If you feel capable I am willing to walk you thought creating a package, after which I would happily host it for you.
It's posible go to the support page and fill in the form someone will reply.
Managing these packages is a lot of work so I can not create packages for everything.
If you feel capable I am willing to walk you thought creating a package, after which I would happily host it for you.
Go to the support page and log the problem, If needed the problem will then be looked into.
The reason for needed a seperate php install is due to the version PHP-GTK packages, PHP-GTK has problems on versions of php under 5.2.2
Feisty does package php 5.2.2 but for consistancy the feisty package is package the same as dapper and edgy.
Adding PHP extensions is as easy as opening the package manager and selecting the extensions package for example the sqlite extension is in a package named php5.2-sqlite
If there is not a package for the extension you want you have two options request the package be added using the support page or compile the extension your self (see How do I compile php extensions?)
To compile a php extension for use with php-gtk download the extensions source code and extract it navigate to the source codes root.
first you must run phpize on the source this step differs if the source root has a file named buildconf you must use the command ./buildconf --with-phpize=/usr/php-gtk/bin/phpize other wise just use the command /usr/php-gtk/bin/phpize
the next set is to run configure do this by using the command ./configure --with-php-config=/usr/php-gtk/bin/php-config
then you must run make do this by using the command make
after this completes run the command sudo make install
The final set is to add you extension to the php.ini (see Were is the php.ini for php-gtk?)
Note these steps may vary depending on the extension you are compiling
For you benifit a symlink is created in /usr/bin to the php binary as php-gtk
to run a script use php-gtk your-script.php
For your benifit a symlink is created in /etc called php-gtk.ini
Thats great news
If you really want to help use the Contact Us page and I will try and find somewere for you to help
IRC #php-gtk.ubuntu