diff options
author | Silvino Silva <silvino@bk.ru> | 2017-08-02 01:04:50 +0100 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2017-08-02 01:04:50 +0100 |
commit | b1b5779493352c72cced0251625d0b850ebac5b8 (patch) | |
tree | 0f40548a2b5c8eaf9bd99423e21b8baf63b83d65 /dev/php | |
parent | ed23bb3344ec5be2893db8d8d838c38c9f2baacd (diff) | |
parent | 65167272a3ba52dc4d032a1c60a9ff030408047d (diff) | |
download | doc-b1b5779493352c72cced0251625d0b850ebac5b8.tar.gz |
new release 0.3.1
Diffstat (limited to 'dev/php')
-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> |