PHP page downloaded

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Kailash
Forum Newbie
Posts: 3
Joined: Wed Mar 19, 2008 2:28 am

PHP page downloaded

Post by Kailash »

Hi,

I have data driven site built in PHP and MySQL. Whn I browse the site the PHP page automatically downloaded instead of displaying the page. Sometimes it is working fine but sometime it downloads the page.

Can anyone help me to resolve this problem.

Thanks in advance!

Kailash
User avatar
thomas777neo
Forum Contributor
Posts: 214
Joined: Mon Mar 10, 2003 6:12 am
Location: Johannesburg,South Africa

Re: PHP page downloaded

Post by thomas777neo »

Usually when it asks you to download the php page it means that the web server is no longer serving the page to you. That means your webserver is the cause of the error. Check your webserver' log files for any errors.
Kailash
Forum Newbie
Posts: 3
Joined: Wed Mar 19, 2008 2:28 am

Re: PHP page downloaded

Post by Kailash »

Thanks thomas777neo,

I will check the logs and will let you know if I need further help.

Kailash
Kailash
Forum Newbie
Posts: 3
Joined: Wed Mar 19, 2008 2:28 am

Re: PHP page downloaded

Post by Kailash »

I have checked the apache log for the domain but didn't get anything. Do I need to check any other logs? I am using REDHAT Enterprise 4 and Apache 1.3.

Thanks,

Kailash
Post Reply