I've tried searching for this topic on SO but all the results are about recompiling, rather than about not recompiling.
Has anyone ever used this -> dl()
It can be used to load dynamic libr开发者_StackOverflow社区aries: http://php.net/manual/en/function.dl.php
Is it possible to load GD and true type font libraries so that I have access to the function imagettfbbox()
and imagettftext()
I'm using CentOS, Apache, PHP 5.25.
Thanks
Most Linux distributions have a php-gd (or php5-gd) package readily available through the package manager. You just have to find it, and install it.
For Ubuntu and Debian, package name is "php5-gd"; you should have to type in sudo apt-get install php5-gd
, and then restart Apache with /etc/init.d/apache2 restart
.
精彩评论