Are you confused about managing your website data or executing a PHP script of yours manually from our cPanel or via SSH?
Here is an explanation of where your website data is located and is being executed from our servers:
The Data directory or Document Root of the primary/main domain where the website files are present is:
/home/cpanelusername/public_html
For an addon domain or sub domain, you need to find out the Document Root from cPanel >> Domains>> Addon domains or cPanel >> Domains>> Sub domains respectively. This is setup at the time of addon or sub domain creation.
If you wish to execute PHP or perl scripts via Shell, your absolute paths are :
/usr/local/bin/php //for PHP scripts
eg: /usr/local/bin/php /home/pickaweb/public_html/testscript.php
and,
/usr/local/bin/perl //for CGI scripts
eg: /usr/local/bin/perl /home/pickaweb/public_html/testscript.pl
For any questions, just drop a quick email to [email protected] from your registered email address or just come to LiveChat by clicking the ‘Chat Now’ button in the bottom right of this page.