Home  >  Article  >  Backend Development  >  "imageantialias" 此函数仅在与 GD 库捆绑编译的 PHP 版本中可用,只能编译php安装?

"imageantialias" 此函数仅在与 GD 库捆绑编译的 PHP 版本中可用,只能编译php安装?

WBOY
WBOYOriginal
2016-06-06 20:49:211148browse

如题,不太了解linux,被php编译安装吓尿了,搞了几晚无果。如果我需要php中能运行类似“imageantialias”这样的函数,只能编译gd和php 来安装吗?

我在服务器上apt-get安装的php5 及 php5-gd,不支持类似这样的函数,大家是如何解决的?

回复内容:

如题,不太了解linux,被php编译安装吓尿了,搞了几晚无果。如果我需要php中能运行类似“imageantialias”这样的函数,只能编译gd和php 来安装吗?

我在服务器上apt-get安装的php5 及 php5-gd,不支持类似这样的函数,大家是如何解决的?

这里或许是个比较好的答案:http://www.maxiwebs.co.uk/gd-bundled

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn