Connecting Tech Pros Worldwide Forums | Help | Site Map

Apache2 reveals SOURCE of PHP!

JZ
Guest
 
Posts: n/a
#1: Jul 17 '05
Had anybody problems with the newest PHP and Apache?

I have compiled from sources Apache 2.0.48 and PHP 4.3.4. For Apache
--with-mpm=worker option was used. I was using Linux RedHat 9
(2xXeon2.8GHz. 3GB RAM) PHP was used as the module of Apache (not
CGI).

The problem is: that SOMETIMES (sic!) PHP pages are not parsed at all
and Apache reveals their SOURCE CODE! But sometimes, the same page is
parsed and everything looks OK. Do you have any idea, what is going on
there?

--
JZ

CountScubula
Guest
 
Posts: n/a
#2: Jul 17 '05

re: Apache2 reveals SOURCE of PHP!


"JZ" <jroznfgre@jngpugbjreQBGbet.cy> wrote in message
news:1a15vv4gdnhlveoeqdjta3hev74vok4ht0@4ax.com...[color=blue]
> Had anybody problems with the newest PHP and Apache?
>
> I have compiled from sources Apache 2.0.48 and PHP 4.3.4. For Apache
> --with-mpm=worker option was used. I was using Linux RedHat 9
> (2xXeon2.8GHz. 3GB RAM) PHP was used as the module of Apache (not
> CGI).
>
> The problem is: that SOMETIMES (sic!) PHP pages are not parsed at all
> and Apache reveals their SOURCE CODE! But sometimes, the same page is
> parsed and everything looks OK. Do you have any idea, what is going on
> there?
>
> --
> JZ[/color]

Is there any distiction of when this happens/doesnot happen?

file extentions? folders? domains? time of day? full moon? leap year?

--
Mike Bradley
http://gzen.myhq.info -- free online php tools


JZ
Guest
 
Posts: n/a
#3: Jul 17 '05

re: Apache2 reveals SOURCE of PHP!


On Wed, 31 Dec 2003 08:25:14 GMT, "CountScubula"
<me@scantek.hotmail.com> wrote:
[color=blue]
>"JZ" <jroznfgre@jngpugbjreQBGbet.cy> wrote in message
>news:1a15vv4gdnhlveoeqdjta3hev74vok4ht0@4ax.com.. .[color=green]
>> Had anybody problems with the newest PHP and Apache?
>>
>> I have compiled from sources Apache 2.0.48 and PHP 4.3.4. For Apache
>> --with-mpm=worker option was used. I was using Linux RedHat 9
>> (2xXeon2.8GHz. 3GB RAM) PHP was used as the module of Apache (not
>> CGI).
>>
>> The problem is: that SOMETIMES (sic!) PHP pages are not parsed at all
>> and Apache reveals their SOURCE CODE! But sometimes, the same page is
>> parsed and everything looks OK. Do you have any idea, what is going on
>> there?[/color]
>
>Is there any distiction of when this happens/doesnot happen?
>
>file extentions? folders? domains? time of day? full moon? leap year?[/color]

No, not at all. When I reload the same page several times, sometimes
it is parsed, simetimes not, and I can see php source.

--
JZ
CountScubula
Guest
 
Posts: n/a
#4: Jul 17 '05

re: Apache2 reveals SOURCE of PHP!


Ok, u got me on this one, but I will continue to ponder over it, it is
bugging me, becouse I saw this once before while I was surfing around.
Would be nice to know answer

--
Mike Bradley
http://gzen.myhq.info -- free online php tools
"JZ" <jroznfgre@jngpugbjreQBGbet.cy> wrote in message
news:7635vvc4npjnorqrqd5qiutush9f23shq6@4ax.com...[color=blue]
> On Wed, 31 Dec 2003 08:25:14 GMT, "CountScubula"
> <me@scantek.hotmail.com> wrote:
>[color=green]
> >"JZ" <jroznfgre@jngpugbjreQBGbet.cy> wrote in message
> >news:1a15vv4gdnhlveoeqdjta3hev74vok4ht0@4ax.com.. .[color=darkred]
> >> Had anybody problems with the newest PHP and Apache?
> >>
> >> I have compiled from sources Apache 2.0.48 and PHP 4.3.4. For Apache
> >> --with-mpm=worker option was used. I was using Linux RedHat 9
> >> (2xXeon2.8GHz. 3GB RAM) PHP was used as the module of Apache (not
> >> CGI).
> >>
> >> The problem is: that SOMETIMES (sic!) PHP pages are not parsed at all
> >> and Apache reveals their SOURCE CODE! But sometimes, the same page is
> >> parsed and everything looks OK. Do you have any idea, what is going on
> >> there?[/color]
> >
> >Is there any distiction of when this happens/doesnot happen?
> >
> >file extentions? folders? domains? time of day? full moon? leap year?[/color]
>
> No, not at all. When I reload the same page several times, sometimes
> it is parsed, simetimes not, and I can see php source.
>
> --
> JZ[/color]


Larry
Guest
 
Posts: n/a
#5: Jul 17 '05

re: Apache2 reveals SOURCE of PHP!


CountScubula wrote:
[color=blue]
> Ok, u got me on this one, but I will continue to ponder over it, it is
> bugging me, becouse I saw this once before while I was surfing around.
> Would be nice to know answer
>[/color]

Could it be a server performance issue?

--
www.eSnider.net
CountScubula
Guest
 
Posts: n/a
#6: Jul 17 '05

re: Apache2 reveals SOURCE of PHP!


"Larry" <sorry@butnoemail.com> wrote in message
news:MvCdnWpmxeBXnW6iRVn-vw@comcast.com...[color=blue]
> CountScubula wrote:
>[color=green]
> > Ok, u got me on this one, but I will continue to ponder over it, it is
> > bugging me, becouse I saw this once before while I was surfing around.
> > Would be nice to know answer
> >[/color]
>
> Could it be a server performance issue?
>
> --
> www.eSnider.net[/color]


Thought about that a bit, but what I don't get is if apache is set to filter
it (either through zend or php) then it must be filtered, it doesn't change
its mind and sometimes filter. Or I could be wrong?

I have been searching for any post anywhere with anything to do with this,
have found anything on an intermitit problem.

--
Mike Bradley
http://gzen.myhq.info -- free online php tools


Larry
Guest
 
Posts: n/a
#7: Jul 17 '05

re: Apache2 reveals SOURCE of PHP!


CountScubula wrote:
[color=blue]
> "Larry" <sorry@butnoemail.com> wrote in message[color=green]
>> Could it be a server performance issue?[/color][/color]
[color=blue]
> Thought about that a bit, but what I don't get is if apache is set to
> filter it (either through zend or php) then it must be filtered, it
> doesn't change its mind and sometimes filter. Or I could be wrong?[/color]

I wouldn't think so unless the filter is messed up.

--
www.eSnider.net
JZ
Guest
 
Posts: n/a
#8: Jul 17 '05

re: Apache2 reveals SOURCE of PHP!


On Wed, 31 Dec 2003 09:27:10 GMT, "CountScubula"
<me@scantek.hotmail.com> wrote:
[color=blue]
>Ok, u got me on this one, but I will continue to ponder over it, it is
>bugging me, becouse I saw this once before while I was surfing around.
>Would be nice to know answer[/color]

Check those:
http://bugs.php.net/bug.php?id=25743
http://bugs.php.net/bug.php?id=25753

--
JZ
Joshua Beall
Guest
 
Posts: n/a
#9: Jul 17 '05

re: Apache2 reveals SOURCE of PHP!


"JZ" <jroznfgre@jngpugbjreQBGbet.cy> wrote in message
news:1a15vv4gdnhlveoeqdjta3hev74vok4ht0@4ax.com...[color=blue]
> SOMETIMES (sic!) PHP pages are not parsed at all
> and Apache reveals their SOURCE CODE![/color]

Whoa, that is not good... can you post examples of this behavior? I have
not seen this happen, although I have seen Apache 2 work fine.


Closed Thread