Control Web Panel

WebPanel => CentOS 6 Problems => Topic started by: johnny09 on June 28, 2016, 05:30:20 AM

Title: PHP CLI Extension install on cwp
Post by: johnny09 on June 28, 2016, 05:30:20 AM
Hello,

came a cross with a problem and need some advice.
So I am running centos 6.7 with cwp and installed pydio. Works fine but...
Pydio sends a huge amount emails, aprohemetaly 500 a day (https://postimg.org/image/70rgnw9bv/), would like to get emails more less, or group them in one mail, so at pydio forum they say I should activate Queue messaging, ok, no problem and set up a cron, created it in cwp but get an email with this:

/bin/sh: php: command not found

Looks to me that I haven’t got something installed!
If I type yum install php-cli in terminal I get:

Installing:
php-cli x86_64 5.3.3-47.el6 base 2.2 M
Installing for dependencies:
php-common x86_64 5.3.3-47.el6 base 530 k

So the question is do I need it or the problem is something else?
Not yet installed php-cli because I think there should be or is an other right way to do it?
Title: Re: PHP CLI Extension install on cwp
Post by: Administrator on June 29, 2016, 01:57:40 PM
in the cronjob module of CWP you have full path which you can use for php