From 104d71775682974f1475f791fe5773d3089e90e8 Mon Sep 17 00:00:00 2001 From: Vincent Date: Fri, 9 Nov 2018 04:10:51 -0500 Subject: [PATCH] Explanation/example of how to get the file to display in browser (#22554) * More detailed explanation/example A little extra explanation about how to get the example file to display in the browser. * Used 'note' for changes --- guide/english/php/hello-world/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guide/english/php/hello-world/index.md b/guide/english/php/hello-world/index.md index 7b99ec53c02..83669736b45 100644 --- a/guide/english/php/hello-world/index.md +++ b/guide/english/php/hello-world/index.md @@ -41,3 +41,5 @@ echo "My first PHP script!"; ``` + +Note: You cannot simply open this file with your browser as you could with an html file. In order for this file to display properly in your browser, you must place it in an accessible folder on a server. A simple example: To do this in apache, you would be replacing the "index.html" file with this file and naming it "index.php" (You should check that php is enabled on your apache server).