about summary refs log tree commit diff stats
path: root/dev/php/index.html
blob: a4549f18186883e64f2a1be5f14e7af604ccd6c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html dir="ltr" lang="en">
    <head>
        <meta charset='utf-8'>
        <title>c9 PHP</title>
    </head>
    <body>
        <a href="../index.html">Development Index</a>

        <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) 2017
        c9 team.
        See the file <a href="../../fdl-1.3-standalone.html">Gnu Free Documentation License</a>
        for copying conditions.</p>


    </body>

</html>