command not found php and mysql

Started by geokat, October 17, 2020, 12:05:04 PM

Previous topic - Next topic

geokat

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,

cinique

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. ;)

Igor S.

@geokat If you use the Jail make sure the binaries are copied to the required folders (something like /home/username/bin/).



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services