Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

While development i have uploaded index.php.bak and tried to access the index.php from browser it was downloading the complete PHP file from server. I immediately deleted index.php.bak , but still file getting downloaded from server.

I delete cache from my browser as well as deleted history.. Asked few friends to access file .. Dam Still getting downloaded.. DELETED file and again uploaded file but still its getting downloaded. I deleted it again , still getting downloaded..

ubuntu@domU:/var/www$ ls -la index.php
ls: cannot access index.php: No such file or directory

Other Files PHP are working perfect !

Any one what is issue ?

share|improve this question

closed as not a real question by Michael Hampton, Khaled, mgorven, mdpc, Ward Mar 9 '13 at 16:44

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

up vote 0 down vote accepted

Sandeep,

This typically means that PHP isn't configured properly. Apache isn't passing PHP files to the php engine. Double check your php / apache install.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.