Does the GD2 ex开发者_JS百科tension come with PHP by default? If yes, since what version does it happen? Is it enabled by default?
thanks (:
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
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. ;)
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
精彩评论