diff options
author | Silvino Silva <silvino@bk.ru> | 2017-03-01 21:27:03 +0000 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2017-05-13 16:40:44 +0100 |
commit | 079066bc153f3a6fe84b5da0b8fa8e584641b46d (patch) | |
tree | 5ed282dccdd6b8004a86f9c765843f0f5852f9c9 /dev/php/index.html | |
parent | 40fc398cab05e1ae769554a50fb423ca38c3bfb6 (diff) | |
download | doc-079066bc153f3a6fe84b5da0b8fa8e584641b46d.tar.gz |
overall revision
Diffstat (limited to 'dev/php/index.html')
-rw-r--r-- | dev/php/index.html | 23 |
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> + <?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> |