poller.php in not good

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
koli
Posts: 2
Joined: Wed Jun 14, 2006 10:46 am

poller.php in not good

Post by koli »

when i try the commande poller.php there is an erreurs. I gine the message. Of course there is the gd.so library ???
Thanks for your help

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/gd.so' - /usr/lib/php/extensions/gd.so: undefined symbol: gdFontCacheShutdown in Unknown on line 0
PHP Warning: PHP Startup: (null): Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20041030, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

my php was compiled with configure options (among many others)
'--with-gd=shared' '--enable-gd-native-ttf'
, there's an additional

Code: Select all

/etc/php.d/gd.ini
and the gd module is enabled

Code: Select all

gd
GD Support 	enabled
GD Version 	bundled (2.0.28 compatible)
FreeType Support 	enabled
FreeType Linkage 	with freetype
GIF Read Support 	enabled
GIF Create Support 	enabled
JPG Support 	enabled
PNG Support 	enabled
WBMP Support 	enabled
XBM Support 	enabled
hth
Reinhard
koli
Posts: 2
Joined: Wed Jun 14, 2006 10:46 am

poller.php

Post by koli »

i don't compile php i installe it withmy distrib -Mandriva 2006-
i add in /etc/php.d/gd.ini the lines in the code but it's not good. Here is the erreur

PHP Warning: PHP Startup: (null): Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20041030, debug=0, thread-safety=0
These options need to match in Unknown on line 0. There is a problem with php.
Have you an idea
Thanks
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

In my rpm baed RHEL 4 system, I have a rpm package known as php-gd installed. Do you have the counterpart? php.ini options surely won't work if the code is not installed :wink:
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests