Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Somtimes PHP scripts are offered for download

Status
Not open for further replies.

klantomo

Technical User
Nov 19, 2003
10
DE
Most of the time everything works fine. But sometimes Apache offers php scripts for download. This happens with different browsers on different machines. It is also independent on the php script. I am using Apache 2, PHP 4.3.3 and SuSE 9.0. This problem drives me crazy because it is very hard to find out what's wrong. Usually it will work again within seconds without changing anything on the server. One has to empty the browser cache before this script works correctly again. As the php script itself can really be downloaded in these cases it must be a server problem. Did anyone experience something similar?
 
How are you running PHP, as an Apache module or as a CGI?
How did you install PHP and Apache, from source tarballs or from binary packages?

I don't know if these questions are pertinent or not. I do know that I've always installed Apache and PHP from source tarball and run PHP as an Apache module and I've never had that problem.



Want the best answers? Ask the best questions!

TANSTAAFL!!
 
klantomo,

Is there anything odd in your Apache logs that happens at the same time that your PHP scripts are downloaded?

I've been running Apache 1.3 and PHP for years and never seen this happen on my server.

Wishdiak
A+, Network+, Security+, MCSA: Security 2003
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top