Connecting Tech Pros Worldwide Help | Site Map

PHP5 and phpinfo()

  #1  
Old December 23rd, 2005, 04:25 PM
John Meyer
Guest
 
Posts: n/a
Hi,
Is there something in PHP5 that turns off phpinfo()?
  #2  
Old December 23rd, 2005, 05:25 PM
Andy Hassall
Guest
 
Posts: n/a

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
  #3  
Old December 27th, 2005, 04:55 AM
Tim Roberts
Guest
 
Posts: n/a

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.
  #4  
Old December 27th, 2005, 02:25 PM
Jerry Stuckle
Guest
 
Posts: n/a

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2/PHP4 compile/startup fine but no PHP parsing (blank page for phpinfo) Randell D. answers 1 February 26th, 2007 04:05 PM
.php5 versus .php McKirahan answers 19 February 17th, 2007 04:55 PM
php5 installation Auddog answers 2 July 5th, 2006 05:45 PM
Sorry..try this one...phpinfo and PHP predefined constants do NOT match! lwoods answers 1 September 4th, 2005 06:15 PM