Path to the executable file
To find out the full path to the executable, e.g. to put it in the configuration file of your CMS or a cron job, you need to connect to your server console via SSH and run the command:
For example, to find out the full path to your php executable:
whereis php php: /usr/bin/php /usr/share/man/man1/php.1.gz
Here /usr/bin/php is the full path to the executable php you need.