Hello,
I am trying to give some PHP and MySQL command through jailkit user but I receive the following errors
bash: mysql: command not found
bash: php: command not found
How I can solve this?
Regards,
Easy, if you know what you are doing!
Specify the full path to the command being used and/or ensure it is in allowed paths for the jailed environment.
Disabled PHP functions (eg. shell_exec) may also restrict the use of a command.
Google is your friend, if you don't have a proper sysadmin. ;)
@geokat If you use the Jail make sure the binaries are copied to the required folders (something like /home/username/bin/).