Re: imagettfbbox
| From: | David Robley | Date: | Mon, 05 Mar 2007 11:36:54 +0000 |
| Subject: | Re: imagettfbbox | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-43187@lists.php.net to get a copy of this message | ||
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.