PHP output garbled

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • supercow

    #1

    PHP output garbled

    Hello,

    Can anyone give me some pointers for solving my php serving problem?
    I'm relatively new to this.

    The problem is: all php output appears client side as garbled text (in
    firefox, and IE wants to download the page, but gives an error that
    downloading isn't possible).
    I had a working system (suse 9.0 / apache2 /php4/mysql) and upgraded
    to suse 9.1 (i know, "if it aint broke, dont fix it", but i did it
    anyway)

    Apache runs and serves html pages, but no php. mysql runs fine as
    well. I've checked the mime type, which is there
    ( application/x-httpd-php phtml pht php )
    But that's about all I can think of. It's probably a common config
    problem, but google hasn't been helpful zo far.

    Thanks

    Mathew
  • R. Rajesh Jeba Anbiah

    #2
    Re: PHP output garbled

    supercow <supercow@not.f orfree.at> wrote in message news:<ba2790tn2 67i4d2qbrflo8d0 46omimndh5@4ax. com>...[color=blue]
    > Hello,
    >
    > Can anyone give me some pointers for solving my php serving problem?
    > I'm relatively new to this.
    >
    > The problem is: all php output appears client side as garbled text (in
    > firefox, and IE wants to download the page, but gives an error that
    > downloading isn't possible).
    > I had a working system (suse 9.0 / apache2 /php4/mysql) and upgraded
    > to suse 9.1 (i know, "if it aint broke, dont fix it", but i did it
    > anyway)
    >
    > Apache runs and serves html pages, but no php. mysql runs fine as
    > well. I've checked the mime type, which is there
    > ( application/x-httpd-php phtml pht php )
    > But that's about all I can think of. It's probably a common config
    > problem, but google hasn't been helpful zo far.
    >[/color]

    Perhaps, you should check the following INI settings:

    default_mimetyp e = "text/html"
    zlib.output_com pression = Off
    ;zlib.output_ha ndler =

    --
    http://www.sendmetoindia.com - Send Me to India!
    Email: rrjanbiah-at-Y!com

    Comment

    Working...