php script sporadic downloadable

php script sporadic downloadable

am 22.10.2007 21:01:54 von Daniel Rindt

Hello List,

i hope to find an answer here, my problem is that my Webserver sporadic
offers php scripts for download.
I search with google and find some issues belonging to php version 4.x
and not to my version.
Im using php-5.1.6-1.1 (mod_php) with httpd-2.0.54-10.4 and can not find
informations belonging to my versions. so i hope someone here can point
me to a solution.
the problem is sporadic, the server setup works in general. it is no
AddHandler Problem. ;)

many thanks for reading my post and answering.
Daniel

Re: php script sporadic downloadable

am 22.10.2007 21:38:55 von Jeff Gaines

On 22/10/2007 in message Daniel Rindt
wrote:

>i hope to find an answer here, my problem is that my Webserver sporadic
>offers php scripts for download.

I am very new to php so this is not a definitive reply by any means, just
an experience I had during the learning process. A lot of scripts I down
loaded to examine/try used short tags ( accept them. In my case they opened in the browser.

--
Jeff Gaines Damerham Hampshire UK
If you ever find something you like buy a lifetime supply because they
will stop making it

Re: php script sporadic downloadable

am 22.10.2007 22:33:48 von davidkruger

On Oct 22, 2:01 pm, Daniel Rindt wrote:
> Hello List,
>
> i hope to find an answer here, my problem is that my Webserver sporadic
> offers php scripts for download.
> I search with google and find some issues belonging to php version 4.x
> and not to my version.
> Im using php-5.1.6-1.1 (mod_php) with httpd-2.0.54-10.4 and can not find
> informations belonging to my versions. so i hope someone here can point
> me to a solution.
> the problem is sporadic, the server setup works in general. it is no
> AddHandler Problem. ;)
>
> many thanks for reading my post and answering.
> Daniel

Have you noticed it always displaying the code for specific php
scripts? Or is it just randomly displaying code for various scripts?
My guess if it is completely random scripts, you might check your
error logs to see if there are any mod_php related errors, or the
mod_php crashing. I have not had the problem happen previously, but
it could be related to file permissions as well (though I would think
that would occur more likely if all scripts in a particular location
are having the problem).

Re: php script sporadic downloadable

am 24.10.2007 17:07:54 von Daniel Rindt

Am Mon, 22 Oct 2007 13:33:48 -0700 schrieb dkruger:

> Have you noticed it always displaying the code for specific php scripts?
> Or is it just randomly displaying code for various scripts? My guess if
> it is completely random scripts, you might check your error logs to see
> if there are any mod_php related errors, or the mod_php crashing. I
> have not had the problem happen previously, but it could be related to
> file permissions as well (though I would think that would occur more
> likely if all scripts in a particular location are having the problem).

Its not all the time, it is sporadically. After i had change the
mem_limit to 128M the problem is gone it seems. I had tested some
requests for 30 Minutes and i got this effect anymore.