Re: [PHP-GTK] php_gtk2.so not recognized in php.ini
[email protected] (Keisial) Fri, 23 Jul 2010 01:19:09 +0200
| Newsgroups | php.gtk.general |
|---|---|
| Message-ID | <[email protected]> |
David V. wrote: > Might be out of scope but I don't understand how can php-gtk2 and your web > browser be related... > > David V. If it loaded, it would probably give a fatal error because the web server isn't running in a graphical session. > 2010/7/22 ketty972 <[email protected]> >> Hello, >> >> I've tried to compile your php-gtk-2.0.1 source because i need it to browse >> something in my webbrowser. I followed all the instructions of this website >> : http://www.kksou.com/php-gtk2/articles/install-php-gtk2-on-linux.php and >> that did not work. The php-gkt2.so extension were not recognized by my >> version of php, even when i copied/pasted it in the directory mentionned in >> my php.ini file. So I reinstalled all the php-5.2.13 packages for my system >> (Red Hat Entreprise Linux 5.4) and I compiled one more time the sources for >> php-gtk2. I inserted this line >> "extension=/path/where/is/the/extension/php-gtk2.so" in my new php.ini but >> it still doesn't work. >> The webpage shows me "Please load the php-gtk2 module in your php.ini " ... >> >> I made a php_log file that says me: " PHP Warning: PHP Startup: Unable to >> load dynamic library '/usr/lib/php/modules/php_gtk2.so' - >> /usr/lib/php/modules/php_gtk2.so: undefined symbol: >> gtk_recent_action_get_type in Unknown on line 0" Seems php-gtk2 is linked with a newer gtk than the one that it has available, which is odd, since you compiled it on the same box.