how run php5 files in linux terminal, showing output on terminal,without installing apache | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how run php5 files in linux terminal, showing output on terminal,without installing apache

is there any connection between perl and php

16th Jun 2016, 3:09 PM
learner
2 Answers
+ 4
You can do that by typing following command in terminal: php < filename.php If you want to store the output of this command into a file you can do that by: php < filename.php > output.html now you can run this output file into a browser
16th Jun 2016, 5:29 PM
Infinite
Infinite - avatar
- 1
What a distribution of linux?
16th Jun 2016, 3:12 PM
mohammad reza khodami