Page 1 of 1

Does VestaCP offers PHP CLI ?

Posted: Mon Dec 28, 2015 11:49 am
by baijianpeng
I need to run a Cron Job with PHP CLI. But I don't know the exact path of PHP CLI in VestaCP, especially after I upgraded the PHP version to 5.5.30 myself.

I have searched this forum and the VestaCP Documentation, none of them had mentioned this. So I hope someone on the forum can help me.

Thank you.

Re: Does VestaCP offers PHP CLI ?

Posted: Mon Dec 28, 2015 12:00 pm
by baijianpeng
I tried following command on SSH terminal:

Code: Select all

# yum install php-cli
The result was:
Package php-cli-5.5.30-1.el7.remi.x86_64 already installed and latest version
Nothing to do
Does this mean I surely have PHP CLI on my server? If so, where is it? How to use it?

Thank you.

Re: Does VestaCP offers PHP CLI ?

Posted: Mon Dec 28, 2015 2:05 pm
by skurudo