What is the path to Perl and the public_html folder?
Category: How To
I'm moving an existing site and needing to know what is the path to perl and the path to the public_html directory.
For example, perviously I've used
#!/usr/bin/perl
for my path to perl
and
/var/www/vhosts/domain.com/httpdocs/
for my path to public html.
Thank you.
For example, perviously I've used
#!/usr/bin/perl
for my path to perl
and
/var/www/vhosts/domain.com/httpdocs/
for my path to public html.
Thank you.
OTHER ANSWERS
|
0
|
Hi griffin, Thanks for posting your question. I'm sorry you're having trouble finding the path to your public_html and path to perl. I'm more than happy to assist you today. From the commandline (ssh) we ran: locate /usr/bin/perl And it displays this: /usr/bin/perl You can also try this and this would be the way to call it in a perl script: #!/usr/local/bin/perl As for the path to your public_html it's going to vary by the different accounts on the server. You can run this command from the commandline to take you into the public_html folder. From root in SSH, run this command and replace username with the actual username: cd ~username From the command line you'll see the path to the public_html folder is: /home/username If you need further assistance please feel free to contact us. Thanks! Tim S |
Like this Question?
Tweet
Latest Questions
If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Recent QuestionsNeed more Help?
Search
Ask the Community!
Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.
Current Customers
| Chat: | Click to Chat Now | E-mail: | support@InMotionHosting.com |
|---|---|---|---|
| Call: | 888-321-HOST (4678) | Ticket: | Submit a Support Ticket |


