Ask coding questions

← Back to all posts
How do I install PHP Libraries?
ErikoX (14)

I have the following PHP code:

$im = imagecreate(50,100);

The code needs the "GD" Library, but I haven't found a way to install it. How do I do that?

AlessandroBerte (0)

Have you resolved? Are you working on i have the same problem

ErikoX (14)

@AlessandroBerte I haven't found a solution yet.

ErikoX (14)

@programmeruser Even after installation, it still doesn't recognize the function

Uncaught Error: Call to undefined function imagecreate()