Connecting Tech Pros Worldwide Help | Site Map

PHP5 and phpinfo()

John Meyer
Guest
 
Posts: n/a
#1: Dec 23 '05
Hi,
Is there something in PHP5 that turns off phpinfo()?
Andy Hassall
Guest
 
Posts: n/a
#2: Dec 23 '05

re: PHP5 and phpinfo()


On Fri, 23 Dec 2005 09:04:54 -0700, John Meyer <john.l.meyer@gmail.com> wrote:
[color=blue]
>Is there something in PHP5 that turns off phpinfo()?[/color]

safe_mode and disable_function could do it. Although much of the information
produced by phpinfo() is available elsewhere anyway.

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Tim Roberts
Guest
 
Posts: n/a
#3: Dec 27 '05

re: PHP5 and phpinfo()


John Meyer <john.l.meyer@gmail.com> wrote:[color=blue]
>Hi,
>Is there something in PHP5 that turns off phpinfo()?[/color]

I'm curious to know why you would want to. PHP only executes files that
are physically located on your server. If your server is compromised to
the point that someone can inject a file to execute, then you're screwed
well beyond anything phpinfo() might provide.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
Jerry Stuckle
Guest
 
Posts: n/a
#4: Dec 27 '05

re: PHP5 and phpinfo()


Tim Roberts wrote:[color=blue]
> John Meyer <john.l.meyer@gmail.com> wrote:
>[color=green]
>>Hi,
>>Is there something in PHP5 that turns off phpinfo()?[/color]
>
>
> I'm curious to know why you would want to. PHP only executes files that
> are physically located on your server. If your server is compromised to
> the point that someone can inject a file to execute, then you're screwed
> well beyond anything phpinfo() might provide.[/color]

Maybe he's hosting a shared server?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Closed Thread