Finding the PHP Root Folder on a Linux Server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anusen23
    New Member
    • Jun 2007
    • 1

    Finding the PHP Root Folder on a Linux Server

    hi, any one help me out

    im basicaly php programmer on windows based application, i need to know the php root folder in php on linux, plz help me oust
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Changed thread title to better describe the problem.

    Heya, anusen23. Welcome to TSDN!

    Are you looking for the webserver's document root ($_SERVER['DOCUMENT_ROOT']), or do you need the root installation directory for the PHP application?

    Comment

    Working...