imagecreatefrompng() problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
fastfingertips
Forum Contributor
Posts: 242
Joined: Sun Dec 28, 2003 1:40 am
Contact:

imagecreatefrompng() problem

Post by fastfingertips »

When i'm using it, displays following problem:
Call to undefined function: imagecreatefrompng()
What do i need to work with images?
I have PHP version 4.3.4 the CGI version
(CGI binary plus server API versions for Apache, Apache2 (experimental), ISAPI, NSAPI, Servlet and Pi3Web. MySQL support built-in, many extensions included, packaged as zip).
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

Got GD installed too? A phpinfo() page should have a GD section in it.
Do other image functions work or specifically the png related ones?
fastfingertips
Forum Contributor
Posts: 242
Joined: Sun Dec 28, 2003 1:40 am
Contact:

Post by fastfingertips »

I have downloaded the gd thanks.

But unfortunatelly i did not understood how to install it, what modifications do i have to make to my php.ini file.
I'm working with PHP on a windows machine under IIS.
fastfingertips
Forum Contributor
Posts: 242
Joined: Sun Dec 28, 2003 1:40 am
Contact:

Post by fastfingertips »

I have founded the problem :)
I have used include as folder in the ini file, unfortunatelly for me now the dll's are in the extensions folder.
Post Reply