external php script

Hi all

I have create a php mysql script to connect to vtiger for authentication. On it's own from the user I can run it.

When I su to the ejabberd user it tells me command not found. The script is located in /usr/local/bin/check_mysql.php has permission 777 and owned by this user.
When I change the user's shell to bash, it works fine.

I am working on turnkey linux for this

kind regards
Steve

Syndicate content