|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Jun 2006
2 posts
Gave thanks: 0
Thanked 0 times
|
Hello,
I'm not new to websiting, but I am new to installing a PHP program. I'm trying to set up a PHP program under a subdomain, but I simply don't know what the Root Path (Absolute) is! I've tried a dozen different things, but what the heck is it? Ahh.. sorry if this question is elsewhere on the site. I've searched but I can't seem to find it. :/ Thanks for your help! And wow, this forum has some sweet emoticons: YES, DANCE MJ, DANCE BETWEEN THE CHIPOTLE BURRITOS! ![]() |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Jun 2006
2 posts
Gave thanks: 0
Thanked 0 times
|
Oh... I guess maybe not. I have a "Learner" hosting plan that isn't even offered anymore.
So that is to say I can't install any PHP scripts unless I get a "Dedicated" plan? :/ |
|
|
|
|
|
#5 (permalink) |
|
Skittles
Super #1
Joined in Aug 2004
Lives in a space ship
Hosted on dedi
6,816 posts
Gave thanks: 101
Thanked 199 times
|
If you're using a script that just needs to know the path to where it's at, it would be /home/username/public_html/path-to-script
__________________
Mountain Dew Knight
People should not be afraid of their governments. Governments should be afraid of their people. |
|
|
|
|
|
#6 (permalink) | |
|
Insanely
Super #1
Joined in Jul 2005
Lives in Northwest USA
4,154 posts
Gave thanks: 39
Thanked 78 times
|
Quote:
__________________
![]() |
|
|
|
|
|
|
#7 (permalink) |
|
after g, before i
Resident.
Joined in Jul 2004
Lives in N,BC,CA
8,087 posts
Gave thanks: 48
Thanked 131 times
|
I don't recall a "learner" plan, but there once was a "lite" plan. Could that be the one you are refering to?
Also, you shouldn't require root access to install PHP scripts. Not unless it's requiring something more than just PHP. And as far as I know, if you have SSH, you can likely view directory structure back to the root directory, but shouldn't have any access to other accounts. I'm not certain though as I've never actually used SSH with Surpass or CPanel. |
|
|
|
|
|
#8 (permalink) | |
|
Surpass Fan
Excelling Contributor
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
937 posts
Gave thanks: 2
Thanked 95 times
|
Quote:
http://yourdomain.com/ url would have an actual path of /home/yourusername/public_html A subdomain is contained in a folder under your public_html folder: http://subdomain.com url would have an actual (Absolute) path of /home/yourusername/public_html/subfolder Some scripts (rare) want an actual path after you have entered your own virtual host, ie. /public_html only, for your domain, or /public_html/subfolder for a subdomain. So a server path for a subdomain will either be: /home/yourusername/public_html/subfolder or (rare) /public_html/subfolder FYI: when using FTP with yourusername, you start in your virtual host directory, ie. / -- an actual server path of /home/yourusername <-- which you will not see in your FTP client.
__________________
Where would you be if you were at the highest court in the land (US)? |
|
|
|
|