How do I start PHP in Linux?

Ngọc Trâm

New member
How do I start PHP in Linux?
Answer
You just follow the steps to run PHP program using command line.
  1. Open terminal or command line window.
  2. Goto the specified folder or directory where php files are present.
  3. Then we can run php code code using the following command: php file_name.php.
 

Tìm kiếm

Back
Top