aboutsummaryrefslogtreecommitdiffstats
path: root/dev/php
diff options
context:
space:
mode:
Diffstat (limited to 'dev/php')
-rw-r--r--dev/php/index.html23
1 files changed, 22 insertions, 1 deletions
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 @@
<h1>c9 PHP</h1>
+
+ <h2>Hello World</h2>
+
+ <p>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;</p>
+
+ <pre>
+ &lt;?php
+ echo "Hello World";
+ </pre>
+
+ <p>Now run the server;</p>
+
+ <pre>
+ $ php -S localhost:8000
+ </pre>
+
+ <p>Open your browser and browse http://localhost:8000,
+ you should see "Hello World".</p>
+
<a href="../index.html">Development Index</a>
<p>
This is part of the c9-doc Manual.
- Copyright (C) 2016
+ Copyright (C) 2017
c9 team.
See the file <a href="../../fdl-1.3-standalone.html">Gnu Free Documentation License</a>
for copying conditions.</p>