Re: imagettfbbox

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

 



Hello,
        Firstly, download the freetype 2 tar.gz package from 
www.freetype.org web site and then install this package /usr/local. If you 
finish this step, you can install PHP and freetype together. But if you 
download and install GD, freetype 2, libpng, zlib,jpeg latest packages and 
compile them with PHP together, your problem will be fixed easily.:)


-- 
Haydar TUNA
Republic Of Turkey - Ministry of National Education
Education Technology Department Ankara / TURKEY
Web: http://www.haydartuna.net

""Mad Unix"" <madunix@xxxxxxxxx> wrote in message 
news:4d3f56c90703042310y66e6f826ud9317cd522e97763@xxxxxxxxxxxxxxxxx
> 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
> 

-- 
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