473,320 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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
Jul 17 '05 #1
1 2053
supercow <su******@not.forfree.at> wrote in message news:<ba********************************@4ax.com>. ..
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.


Perhaps, you should check the following INI settings:

default_mimetype = "text/html"
zlib.output_compression = Off
;zlib.output_handler =

--
http://www.sendmetoindia.com - Send Me to India!
Email: rrjanbiah-at-Y!com
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Tony Marston | last post by:
I have just moved my website to a new hosting provider as the previous one went belly-up. Everything is now fine except for one thing - my counter script which generates a PNG image is sending out...
1
by: steve | last post by:
Hi, My Windows machine running PHP Version 4.3.4, Apache, mysql, Zend IDE has developed a strange problem whereas the html code coming out of php sometimes gets garbled in unpredicatable ways,...
0
by: Ethan | last post by:
I've been having some really weird problems with a very simple PHP app. I'm wondering if anyone can help me sort this out. I have a page that prints out the results of a MySQL query as an HTML...
1
by: Mike Grigorov | last post by:
I am using cheetah with jython 2.1 and I have problem generating templates that contain cyrillic text. Some texts are printed OK and others are not. I searched Jython and cheetah projects mailing...
6
by: Thomas Philips | last post by:
I have a question about deleting objects. My game has two classes, Player and Alien, essentially identical, instances of which can shoot at each other. Player is described below class...
2
by: Brian Cline | last post by:
I'm trying to print out some of my code from the VS.NET IDE (specifically, VB.NET), and when I do it prints out a bunch of garbled text as my code. The page header showing the location and file...
1
by: Alex Maghen | last post by:
I have a site which outputs English and Hebrew and Farsi all in the same pages. The framework of the pages is in English, but Right-to-Left Hebrew and Farsi are also displayed. My actual .aspx...
1
by: blbmdsmith | last post by:
Has anyone seen the following error while starting httpd: Starting httpd: httpd: Syntax error on line 54 of /usr/local/apache2/conf/httpd.conf: API module structure `python_module' in file...
5
by: Frank Stajano | last post by:
A simple unicode question. How do I print? Sample code: # -*- coding: utf-8 -*- s1 = u"héllô wórld" print s1 # Gives UnicodeEncodeError: 'ascii' codec can't encode character # u'\xe9' in...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.