11

GD2 扩展是否默认附带 PHP?如果是,因为它发生在哪个版本?是否默认启用?

谢谢 (:

4

3 回答 3

5

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. ;)

于 2011-05-09T12:45:11.897 回答
5

GD 默认情况下不使用 PHP 编译,但包含在 PHP 的许多二进制发行版中。

完整的详细信息/说明在这里:http ://www.php.net/manual/en/image.setup.php

于 2011-05-09T12:23:06.677 回答
1

嗯,我想我必须在我的服务器上安装我的

您可以访问您的服务器还是共享服务器?

如果是 - 检查是否安装了 php5-gd

于 2011-05-09T12:22:21.240 回答