Użytkownik Javier Szyszlican napisał:

Thats still your PHP CLI, and GD may not be enabled in your PHP Apache ISAPI
(mod_php)

Javier

Bogdan wrote:
Użytkownik Javier Szyszlican napisał:

Do you get that error on the CLI or in the Web?

Check if you 2 php.ini's have GD enabled.

Javier



...............cut..............

Hi

THX - now I know where to find the problem. But when I try to find
solution I see:

But GD:


** Configuration summary for gd 2.0.33:

 Support for PNG library:          yes
 Support for JPEG library:         yes
 Support for Freetype 2.x library: yes
 Support for Fontconfig library:   no
 Support for Xpm library:          no
 Support for pthreads:             yes

[EMAIL PROTECTED] bin]# ./gdlib-config --features
GD_JPEG GD_FREETYPE GD_PNG GD_GIF

And php ./configure ->
checking for the location of libpng... /usr/prog/biblioteki/rrdbuild/lb/
checking for png_write_image in -lpng... (cached) yes
checking for gdImageCreateFromPng in -lgd... (cached) yes

php.info (php-5.0.4) ->     gd

GD Support           enabled
GD Version           2.0 or higher
FreeType Support     enabled
FreeType Linkage     with freetype
FreeType Version     2.1.9
GIF Read Support     enabled
GIF Create Support   enabled
JPG Support          enabled
WBMP Support         enabled
And from jffnm still ->

Call to undefined function ImageCreateFromPNG

Question is - why png is not enabled in php ?
THX

Best regards
Bogdan
.......................................cut....................
Hi .
I`m very happy every time I see an e-mail from You. And Yours help is a big thing for me. :) Now is clear for me - the problem is outside of jffnms. But I still counting on Your help.

From my php.info I see:
Apache
Loaded Modules mod_php5, mod_ssl, mod_setenvif, mod_so, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_status, mod_negotiation, mod_mime, mod_log_config, mod_env, mod_vhost_alias, http_core

I`m newbe at Linux - mayby I`m doing something wrong.
But if GD looks good and has support for png, and is correct loaded when I made PHP ./configure, why when I check
php.info - it is not enabled ?

Best regards

Bogdan


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to