L
L
leopardo112014-06-19 18:55:59
SSH
leopardo11, 2014-06-19 18:55:59

Connected to the site via SSH, how to run the php file?

Connected to the site via SHH, now I need to run the file that is in the root. The php-cli or php file.php command does not start, writes not found.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Igor Vorotnev, 2014-06-19
@leopardo11

What does not found write - the file was not found or the command was not found? most likely php-cli is not installed. And so Fandorin correctly suggests.

M
Mikhail Alekseev, 2014-06-19
@Fandorin

php file.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question