From b2f90962cae7aafb08271ad7d80e70fd58efdbb2 Mon Sep 17 00:00:00 2001 From: zendmaster Date: Sun, 28 Oct 2018 08:37:53 -0600 Subject: [PATCH] Added command for install for Centos 6 or 7 (#20177) --- guide/english/php/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/guide/english/php/index.md b/guide/english/php/index.md index 013ff6ea19..2dadb6af31 100644 --- a/guide/english/php/index.md +++ b/guide/english/php/index.md @@ -54,6 +54,11 @@ On Debian based GNU/Linux distros, you can install by : sudo apt install php ``` +On Centos 6 or 7 you can install by : +```bash +sudo yum install php +``` + After installing you can run any PHP files by simply doing this in terminal : ``` php file.php