Computer Science, asked by Siakhan2758, 11 months ago

How do you execute php script from the command line in webbed technology?

Answers

Answered by Anonymous
0

if you want to execute php scripts through windows command line, then that is simple and easy. Login to windows machine, Open command prompt from with in command prompt and navigate to php directory, there you can find php executable file. From that folder access php executable file then path to your php file. Then that php file will be executed through command line.

1 <?php

2 echo "testing";

3 echo "\n";

4 ?>

From command prompt navigate to C:\wamp\bin\php\php5.3.13 this path using cd (change directory)

command , if you are using wamp web server. In that folder you can find php.exe an executable file.

Hope this helps you ☺️☺️⭐✨✨⭐

✌️✌️❤️❤️

Similar questions