From 079066bc153f3a6fe84b5da0b8fa8e584641b46d Mon Sep 17 00:00:00 2001 From: Silvino Silva Date: Wed, 1 Mar 2017 21:27:03 +0000 Subject: overall revision --- dev/php/index.html | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'dev/php') diff --git a/dev/php/index.html b/dev/php/index.html index 2a44270..a4549f1 100644 --- a/dev/php/index.html +++ b/dev/php/index.html @@ -9,10 +9,31 @@

c9 PHP

+ +

Hello World

+ +

PHP comes with a built in server that helps to speed up + developing by not having to configure a system web server, + first create file index.php;

+ +
+        <?php
+           echo "Hello World";
+        
+ +

Now run the server;

+ +
+        $ php -S localhost:8000
+        
+ +

Open your browser and browse http://localhost:8000, + you should see "Hello World".

+ Development Index

This is part of the c9-doc Manual. - Copyright (C) 2016 + Copyright (C) 2017 c9 team. See the file Gnu Free Documentation License for copying conditions.

-- cgit 1.4.1-2-gfad0