What is the path to... Print
- 79
The following are several important paths that you may need to know when writing and configuring scripts.
ImageMagick = /usr/local/bin/convert
MPlayer = /usr/local/bin/mplayer
Perl = /usr/bin/perl
PHP = /usr/local/bin/php
Sendmail = /usr/local/sbin/sendmail
Curl = /usr/bin/curl or /usr/local/bin/curl
Your home root: /home/username/
Your 'www' directory: /home/username/public_html/
Your cgi-bin: /home/username/public_html/cgi-bin
Note: Depending on which script you're installing, you may need to use these paths either with or without the trailing slash ("/")
Was this answer helpful?
Related Articles
How to change the date.timezone value in PHP?
If your PHP scripts do not show the correct time, the reason is that most probably your hosting...
Creating a simple, safe contact form
If you've ever wanted a feedback or contact form on your website, you may find the following code...
Cron jobs
A 'cron job' is an automated task that can be set up within your cPanel. This will typically be...
Disabling catch-all email
If you wish to disable the default catch-all email address - i.e. you will only receive email to...
File permissions
There are a number of file permissions, which can be used for a variety of different purposes,...