It can be useful sometimes to run a php script directly from a console.
For that you should install "php5-cli" with the command:
"Apt-get install php5-cli"
You will need to confirm the installation package and its dependencies.
Then to run a php script, you must enter the following command:
"Php scriptname"
For that you should install "php5-cli" with the command:
"Apt-get install php5-cli"
You will need to confirm the installation package and its dependencies.
Then to run a php script, you must enter the following command:
"Php scriptname"
0 comments:
Post a Comment