NYCPHP Meetup

NYPHP.org

[nycphp-talk] Re: Graphics with php

Tim Sailer sailer at bnl.gov
Wed Oct 16 13:44:42 EDT 2002


On Wed, Oct 16, 2002 at 01:35:56PM -0400, Hans Zaunere wrote:
> > ..When
> > running a small test script, it tells me that it does
> > not find imagepng() for instance ( I am on
> > sun/solaris).
> 
> Hmm... Are you sure the script is running with the PHP binary/module
> you think it is?  Is that the only error it gives?  If it couldn't find
> the GD libs properly, you should get a different error (if it would
> even compile at all).  But this error seems like PHP doesn't even know
> this module is available.  Is PNG specifically enabled?  Do any of the
> image functions work (getimagesize(),exif_imagetype())?  Are the
> constants defined?  Did you compile it as a dynamic module? Did you
> load it with dl() if so?  

Also, if the PHP build was done as modules, make sure you
have the gd.so extention loded in the php.ini...

Tim

-- 
Tim Sailer <sailer at bnl.gov> 
Application Services
Information Technology Division
Brookhaven National Laboratory  (631) 344-3001



More information about the talk mailing list