1.download

https://www.php.net/

2.environment setting

PHP hello world

 

3.

echo %PATH%

php -v

PHP hello world

4.php -S localhost:4000

PHP hello world

 

5.make a directory 

PHP hello world

6.

site.php

<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <title></title>
  </head>
  <body>
    <?php
      echo("hello world");
    ?>
  </body>
</html>

PHP hello world

7.

http://localhost:4000/www/site.php

 

PHP hello world

 

相关文章:

  • 2021-04-04
  • 2021-09-01
  • 2021-05-27
  • 2021-09-21
  • 2021-05-09
猜你喜欢
  • 2022-12-23
  • 2022-01-03
  • 2021-12-26
  • 2021-10-08
  • 2021-10-25
  • 2021-08-28
相关资源
相似解决方案