Path to the executable file

Description of the search for the full path to an executable file

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:

whereis name_application

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.

More on console operation

Need help?Our engineers will help you free of charge with any question in minutesContact us