How to use PHP-CLI

You would call '/usr/local/bin/php' if you need the php-cli binary, and '/usr/bin/php' if you need the CGI variant. 

If you call 'php' only via the CRON, you're going to end up using the CGI binary, since '/usr/bin' comes first in the CRON $PATH.

To use use php-cli you need to use the path /usr/local/bin/php

Was this answer helpful?

Also Read

How to remove the default page on a new website

All new web hosting plans have a place holder page to show the website is working. You'll need to...

How much disk space do I need?

Disk Space is similar to your hard drive space on your home computer. Your disk space limit...

What is the path to PERL?

The path to PERL in PERL script is:#!/usr/local/bin/perl

What is the path to FFMPEG?

FFMPEG Settings can change time to time for new servers and new versions. You can see the recent...

Where is the servers located?

The main servers are located in Los Angeles. We also have backup servers in Las Vegas and round...