Spec URL:
http://www.metal3d.org/repo/fedora/9/SPECS/php-gtk2.specSRPM URL:
http://www.metal3d.org/repo/fedora/9/SRPMS/php-gtk-2.0.1-1.fc9.metal3d.src.rpmDescription:
PHP-GTK is an extension for the PHP programming language that
implements language bindings for GTK+. It provides an object-oriented
interface to GTK+ classes and functions and greatly simplifies
writing client-side cross-platform GUI applications
RPMlint output:
[builder@localhost ~]$ rpmlint
rpmbuild/RPMS/i386/php-gtk-2.0.1-1.fc9.metal3d.i386.rpm
php-gtk.i386: W: incoherent-version-in-changelog 2.0.1-1.fc9
2.0.1-1.fc9.metal3d
1 packages and 0 specfiles checked; 0 errors, 1 warnings.
That's because I used my repotag "metal3d"
Examples are in /usr/share/ php-gtk documentation after install. It works great
:)
Spec URL:
http://www.metal3d.org/repo/fedora/9/SPECS/php-gtk2.specSRPM URL:
http://www.metal3d.org/repo/fedora/9/SRPMS/php-gtk-2.0.1-2.fc9.metal3d.src.rpmNew release, this is some ideas taken on:
http://rpms.famillecollet.com/files/php-gtk.spec for PHP 5.3
I need to be sponsored, if someone can help me...
Will this work on Fedora 8 please? I have compiled php-gtk-2.0.0 on Fedora 8,
but when I load it as a PHP extension it breaks my connections to localhost.
Created an attachment (id=314865) [details]
php-gtk-2.0.0 compiled against Fedora's PHP 5.2.6
[root@karsites modules]# php -v
PHP 5.2.6 (cli) (built: May 8 2008 08:53:44)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies with Xdebug
v2.0.3, Copyright (c) 2002-2007, by Derick Rethans
When I tell php.ini to load the php_gtk2.so extension, I cannot access a file
with phpinfo() function from my browser. I get 'connection to localhost is
broken'. I get that with *anything* I try to load into my browser with this
extension loaded. As soon as I remove the extension and restart httpd, the
error goes away.
My problem appears I was trying to use the same /etc/php.ini for my apache web
server as well as for the CLI version of PHP. I made another php.ini file, and
used that for loading and running the php_gtk2.so extension. Then used the
following C/L to run a php-gtk test script:
[root@karsites demos]# php -c /etc/php-cli/php.ini -f phpgtk2-demo.php
This works OK now, as you can see by the enclosed attachment.
Created an attachment (id=314885) [details]
Screen shot of PHP5 running a php-gtk enabled script
yes, in fact you don't have to run "php" but "php-gtk". This is done to not
enable gtk extension in php.ini wich can create errors with Apache.
php-gtk script (installed with package) will enable extension to run you
script.
Regards