
Originally Posted by
bugmenot
No, I did not know that I need to this. I thought a "make install" would be enough. I'll try tomorrow maybe, I don't know which php_gtk.so you mean.
Thanks.
I have just installed PHP GTK on Ubuntu 9.10, and here is how I did it:
1) Install dependencies using Synaptic (php5-cli, php5-dev, libgtk2.0-dev)
2) Run the following:
Code:
su -
cd /usr/share/aclocal
cat lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 >> libtool.m4
3) Download the PHP GTK v2.0.1 source tar
4) Start Terminal in the extracted location
5) Run ./buildconf then ./configure then make then sudo make install
6) Add the following line to /etc/php5/conf.d/php_gtk2.ini
Code:
extension=php_gtk2.so
If you are on Ubuntu 9.10 64-bit, you'll probably be able to skip steps 3-5 by doing the following

Originally Posted by
Michael