Hugo Mota
Hugo Mota

Reputation: 11567

Does the GD2 extension come with PHP?

Does the GD2 extension come with PHP by default? If yes, since what version does it happen? Is it enabled by default?

thanks (:

Upvotes: 12

Views: 33359

Answers (3)

i.am.michiel
i.am.michiel

Reputation: 10404

On windows system, it is generally delivered but not installed. You can enable it by decommenting the section in the php.ini file.

On Linux systems (Debian & Ubuntu), on a default installation, it is activated. Rather than doing it in command line as suggests : Atticus, give it a try with a php info!

<?php 
    phpinfo();
?>

If GD is installed, you'll see it on that page. ;)

Upvotes: 5

James C
James C

Reputation: 14159

GD isn't compiled with PHP by default but is included with many binary distributions of PHP.

Full details/instructions are here: http://www.php.net/manual/en/image.setup.php

Upvotes: 6

Atticus
Atticus

Reputation: 6730

Hmm I think i had to install mine on my server

do you have access to your server or is it a shared server?

If so -- check if php5-gd is installed

Upvotes: 1

Related Questions