Re: imagettfbbox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mad Unix wrote:

> am trying to build a water mark on the web, when i call the
> function imagettfbbox()
> I get the following *Fatal error*: Call to undefined function
> imagettfbbox() in */usr/local/apache/htdocs/captcha.php* on line *60*
> OS: RHEL4
> Pack: Apache2, PHP5.2, GD
> Config:
> './configure' '--with-apxs2=/usr/local/apache/bin/apxs' '--enable-shared'
> '--with-mysql=/usr/local/mysql' '--with-zlib-dir=/usr/lib/'
> '--enable-versioning' '--enable-track-vars=yes'
> '--enable-url-includes--enable-sysvshm=yes' '--enable-sysvsem=yes'
> '--with-gettext' '--enable-mbstring' '--enable-ftp' '--enable-calendar'
> '--with-config-file-path=/etc'
> '--with-oci8=/u01/app/oracle/oracle/product/10.2.0/db_1' '--enable-soap'
> '--with-gd' '--enable-xml' '--with-xml' '--enable-sysvsem'
> '--enable-sysvshm' '--enable-sysvmsg' '--with-regex=system' '--with-png'
> '--with-ttf=/usr/lib' '--enable-sigchild'
> '--with-jpeg-dir=/usr/local/lib/jpeg-6b'
> '--with-freetype-dir=/usr/local/lib/freetype' '--with-png-dir=/usr/lib/'
> 
> gd
> GD Support  enabled
> GD Version  bundled (2.0.28 compatible)
> GIF Read Support  enabled
> GIF Create Support  enabled
> PNG Support  enabled
> WBMP Support  enabled
> XBM Support  enabled
> 
> any help
>  --
> madunix
In phpinfo, under GD you should also have a line

FreeType Support        enabled

I'd guess that your configure for freetype is wrong, but I'm not sure where
you might find it - perhaps /usr/local ??



Cheers
-- 
David Robley

Don't use no double negatives.
Today is Prickle-Prickle, the 64th day of Chaos in the YOLD 3173. 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux