LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > [RESOLVED] symlinking php help please

Reply
 
Thread Tools Display Modes
  #1  
Old 01-30-2010, 09:20 AM
fcmgadmin fcmgadmin is offline
New Member
 
Join Date: Jan 2010
Posts: 1
Default [RESOLVED] symlinking php help please

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 NiteWave; 01-30-2010 at 07:14 PM.. Reason: Solved
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:58 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.