1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

How do i find my full path to root?

Discussion in 'Plesk for Linux - 8.x and Older' started by TSerrano, Nov 12, 2005.

  1. TSerrano

    TSerrano Guest

    0
     
    I cant seem to find my full path to root
    in plesk reloaded.

    Also i am trying to setup a cron tab for a php
    file and im not sure how to make the command:D
     
  2. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    Exactly what do you mean by "path to root?" Are you speaking of vhosts?
     
  3. whitecurve

    whitecurve Guest

    0
     
    if you want to knwo what directory you are in while logged in via ssh then try

    pwd

    Which should tell you the directory you are currently in.

    If your talking about where the root directory for a website in on your box, then upload a file called info.php which contains the following:

    <?phpinfo();?>

    then view that file from a browser. this will display lots of php information such as where that file is located. look for "SCRIPT_FILENAME" and that will have the value of something like

    /home/httpd/vhosts/DOMAIN.COM/httpdocs/info.php

    Hope that helps
    W
     
Loading...