[RESOLVED] symlinking php help please

#1
I have installed LSWS on a clean server and also webmin to manage my emails and cron jobs etc. I have a problem with clientexec in that when trying to set up a cron it states "Error: couldn't find the PHP binary in the system ". I also noticed that if I type php -v at root I get -bash: php: command not found rather than the output.

I know clientexec looks for the php binary in /usr/local/bin/php and /usr/bin/php

What is the best way to get this to link up properly. many thanks in advance......

///////////////////////////////////////////////////////////////////////////////////////////////////////////
It's Ok I solved it with a simple symlink, think I was looking at it to complicated.

ln -s /usr/local/lsws/lsphp5 /usr/local/bin/php solved the problem with creating cron jobs from clientexec
 
Last edited by a moderator:
Top