answersLogoWhite

0

If the operating system is linux open a terminal or ssh to the server and type:

(as root)

which php-cli

or

which php5-cli

if nothing is ouputted it can't find it, then check if you've got it installed.

Debian based distro's: apt-get install php5-cli

hope this helps.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What are the two modes of the php processor?

Copy and Interpret


How can you execute a PHP script using command line?

2 Methods: 1. You execute your php binary (in linux, make sure you have php-cli installed) and pass the script as an argument. EG ($: /usr/bin/php /home/user/script.php) 2. A sh'bang in the first line of your script, with the full path of your php executable: #!/usr/bin/php -q <?php ScriptStuff(); ?>


What does CLI represented in Roman numerals?

CLI = 151


What are the advantages of the GUI over a CLI?

Not much similarity, however from GUI you can do anything which can be done by CLI.. This is not possible with CLI to do as GUI..


Is cli a scrabble word?

No. Cli is not a legal English Scrabble word.


What is a CLI Route?

CLI route means that it offers caller ID


What is cli route?

CLI route means that it offers caller ID


What are the syllables of climate?

cli-mat-ic. 3 syllables.


What is CLI?

CLI is a type of computer interface that allows users to issue commands to a computer by typing using a keyboard. CLI means command line interface.


What is cli in computer networking?

CLI stands for Command line interface. It is where we configure our routers or switches.


Php Source code for validation?

If you wish to check the syntax of your source code, you need to run the code through the PHP CLI with the -l option. There are also some online resources to validate the syntax. This will check only the syntax of your file. This will not however detect runtime errors or logic errors. You must absolutely run the script for the best possible code validation.


What is 10 percent in Php 250?

Answer: Php 2510% of Php 250= 10% * Php 250= 0.10 * Php 250= Php 25