开发者

Does the GD2 extension come with PHP?

开发者 https://www.devze.com 2023-03-04 11:54 出处:网络
Does the GD2 ex开发者_JS百科tension come with PHP by default? If yes, since what version does it happen? Is it enabled by default?

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

0

精彩评论

暂无评论...
验证码 换一张
取 消