Re: [PHP-GTK] php_gtk2.so not recognized in php.ini
[email protected] ("Madeleine D.") Thu, 22 Jul 2010 13:51:45 -0700
| Newsgroups | php.gtk.general |
|---|---|
| Message-ID | <[email protected]> |
I've never done any RedHat; Ubuntu only. But it seems to me you should be matching a more recent build of php-gtk to your php 5.2.13, using the latest CVS. For help, you might want to check this out: http://matthewturland.com/2009/04/25/building-php-gtk-with-cairo-support-on-ubuntu-jaunty/ The instructions are a year old now, but the basic idea should work for you. Again, I'm not a RedHat expert, so this may not be the best answer for you. But it's worth a try. Madeleine D. ketty972 wrote: > 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" > > I didn't find anything on the web that could help me, or it wasn't of my > level (I'm rather beginner with Linux) or I didn't understand everything > because it was in english (I'm French). Have you any idea which can help me > to fix my problem? I thought there was an rpm ressources but in fact it > doesn't exist yet for RHEL...I thank you beforehand. >