B Banana Lord. Active Member Aug 28, 2011 #1 Aug 28, 2011 #1 I'm trying to use the ImageTTFText function on my website but it keeps saying it's an undefined function. I compiled PHP5.3.8 with --with-ttf too =( Am I doing smoething wrong? OS is Ubuntu 10.04 LTS. Thanks Last edited by a moderator: Aug 28, 2011
I'm trying to use the ImageTTFText function on my website but it keeps saying it's an undefined function. I compiled PHP5.3.8 with --with-ttf too =( Am I doing smoething wrong? OS is Ubuntu 10.04 LTS. Thanks
W webizen Well-Known Member Aug 28, 2011 #2 Aug 28, 2011 #2 try compile with --with-freetype-dir AND --enable-gd-native-ttf
B Banana Lord. Active Member Aug 28, 2011 #3 Aug 28, 2011 #3 webizen said: try compile with --with-freetype-dir AND --enable-gd-native-ttf Click to expand... Sorry, but what should I be installing and setting the freetype directory to? I've never really installed custom modules before =( EDIT: Thanks for the speedy reply though =D
webizen said: try compile with --with-freetype-dir AND --enable-gd-native-ttf Click to expand... Sorry, but what should I be installing and setting the freetype directory to? I've never really installed custom modules before =( EDIT: Thanks for the speedy reply though =D
W webizen Well-Known Member Aug 28, 2011 #4 Aug 28, 2011 #4 for example, use '--with-freetype-dir=/usr' if 'apt-get install libfreetype6-dev' is done.
B Banana Lord. Active Member Aug 28, 2011 #5 Aug 28, 2011 #5 webizen said: for example, use '--with-freetype-dir=/usr' if 'apt-get install libfreetype6-dev' is done. Click to expand... Thanks so much =D
webizen said: for example, use '--with-freetype-dir=/usr' if 'apt-get install libfreetype6-dev' is done. Click to expand... Thanks so much =D
B Banana Lord. Active Member Sep 9, 2011 #6 Sep 9, 2011 #6 Having another issue related to this, Fatal error: Call to undefined function imagejpeg() in /home/bananatree/html/mc/shrink.php on line 46 do I need something else to use imagejpeg?
Having another issue related to this, Fatal error: Call to undefined function imagejpeg() in /home/bananatree/html/mc/shrink.php on line 46 do I need something else to use imagejpeg?
W webizen Well-Known Member Sep 10, 2011 #7 Sep 10, 2011 #7 your PHP needs to have GD jpeg support. Add following option in PHP compile. '--with-jpeg-dir=/usr' Click to expand...
your PHP needs to have GD jpeg support. Add following option in PHP compile. '--with-jpeg-dir=/usr' Click to expand...
B Banana Lord. Active Member Sep 10, 2011 #8 Sep 10, 2011 #8 webizen said: your PHP needs to have GD jpeg support. Add following option in PHP compile. Click to expand... Thank you =)
webizen said: your PHP needs to have GD jpeg support. Add following option in PHP compile. Click to expand... Thank you =)