|
Quotes |
" ... I want to tell you that your thyme product is functional and valuable beyond
words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."
" ... Thanks for such a complete project, its making my job much easier. ..."
" ... I have now deployed 4 different calendars and our users love them ... "
" ... Easy to install and use and a great look/design. ..."
" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."
|
|
| View previous topic :: View next topic |
| Author |
Message |
tonythemediaguy
Joined: 10 Apr 2006 Posts: 12
|
Posted: Mon Apr 10, 2006 4:21 pm Post subject: Cron Issue |
|
|
Hello,
The problem I'm having is the path of the cron. After I set it up, I got an email from the cron that says:
/bin/sh: line 1: /usr/local/bin/php: No such file or directory
So I logged into my server as root and looked for the php folder (I didn't set any of this up) and changed the cron to this. So now I get an email once an hour that says:
/bin/sh: line 1: /usr/lib/php: is a directory
Why is it telling me it's a directory over and over. Does this mean that it's the wrong directory? How do I find the correct php folder?
Thanks,
Tony |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Mon Apr 10, 2006 4:59 pm Post subject: |
|
|
Hi tonythemediaguy,
The cron job needs to point to the full path of php. So if PHP is in /usr/lib/php, the path would be /usr/lib/php/php. Though that would be a set up I have not seen before. It is more likely /usr/bin/php. Some commands that may help you find PHP. .. these can be typed at the command prompt..
1) type php
2) which php
Let me know if this doesn't correct the issue. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|