
February 5th, 2007, 01:30 PM
|
|
Registered User
|
|
Join Date: Apr 2007
Posts: 22,309
Time spent in forums: < 1 sec
Reputation Power: 24
|
|
|
php-gtk2.so problem
Hi,
Ive installed php-gtk 2.0.0 alpha on Red Hat Enterprise Linux 4 but when I try running any scripts it fails when trying to execute class_exists('gtk'). The hello world example suggests loading php-gtk2 in my php.ini.
I'm running PHP 5.2.0 with CLI and php -i shows I'm using the correct php.ini file. I've loaded the module in php.ini and the module is in the correct directory but it still makes no difference. There was an issue when installing php-gtk...
regardless of which directory i set to install the libraries and modules to, it always installed php_gtk2.so to /home/jamest/apache/php/bin/php/extensions/no-debug-non-zts-10060613. The extensions_dir in the php.ini points to /home/jamest/apache/modules. Ive made pointers to the module in the modules directory as well as the lib directory where the other modules (for glib, pango, gtk+ etc...) are stored which I think should solve that problem. If thats not the case does anyone know how to solve this. If that should be fine does anyone know what else could be the problem?
cheers
James
|