Common Paths - PHP, SendMail, Perl, ImageMagick, Python, Curl etc

Here are some commonly needed paths for scripts:

PHP: /usr/bin/php

PHP CLI: /usr/bin/php-cli


Perl: /usr/bin/perl

Git: /usr/local/cpanel/3rdparty/bin/git

SendMail: /usr/sbin/sendmail

Python: /usr/bin/python

Curl: /usr/bin/curl

ImageMagick: /usr/bin/convert (v6.2.8) or /usr/local/cpanel/3rdparty/bin/convert (v6.9+)

Server Date/Time: /bin/date

Document Root / Root Directory: /home/username/  (files placed here aren't accessible on the web)

Web Root / HTML Directory: /home/username/public_html/  (where you upload your files to make them accessible on the web)

CGI Directory: /home/username/public_html/cgi-bin/


 



Was this answer helpful?

Add to Favourites
Print this Article

Also Read
Official cPanel Manual (Views: 2475)
Official WHM Manual (Views: 2249)
PHP Time Zone Errors (Views: 666)