Jas*_*son 5 php gd image-processing
我试过在SO上搜索这个主题,但所有结果都是关于重新编译,而不是重新编译.
有没有人用过这个 - > dl() 它可以用来加载动态库:http://php.net/manual/en/function.dl.php
dl()
是否可以加载GD和真实类型的字体库,以便我可以访问该函数 imagettfbbox()和imagettftext()
imagettfbbox()
imagettftext()
我正在使用CentOS,Apache,PHP 5.25.
谢谢
小智 3
大多数 Linux 发行版都有一个 php-gd(或 php5-gd)包,可以通过包管理器轻松获得。您只需找到它并安装它即可。
对于 Ubuntu 和 Debian,软件包名称为“ php5-gd ”;您应该输入sudo apt-get install php5-gd,然后使用 重新启动 Apache /etc/init.d/apache2 restart。
sudo apt-get install php5-gd
/etc/init.d/apache2 restart
归档时间:
14 年,3 月 前
查看次数:
1898 次
最近记录:
12 年,12 月 前