For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > February 2006 > Re: [PHP-INSTALL] Problem in displaying truetypefonts









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] Problem in displaying truetypefonts
Ruprecht Helms

2006-02-22, 6:57 pm

replies-lists-php@listmail.innovate.net wrote:
> the most common cause of this error is doing a redirect, using the
> header() function, but writing output to the browser before that function
> is called.
>
>

Now Ive configured php like this:

'./configure' '--with-mysql' '--with-apxs=/www/bin/apxs' '--with-gd'
'--with-zlib' '--with-freetype-dir=/root/freetype-2.1.10'
'--enable-gd-native-ttf'


gd

GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled


Now I get the following error by testing this script:

*Warning*: Cannot modify header information - headers already sent by
(output started at /www/htdocs/moneyflexx/ttf_test.php:2) in
*/www/htdocs/moneyflexx/ttf_test.php* on line *3*
GIF87a

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com