• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

How do i find my full path to root?

T

TSerrano

Guest
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
 
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
 
Back
Top