1、新建一个PHP文件,如test.php
2、在test.php中输入代码:<?phpecho 'hello world!';?>
3、把你的test.php放到你的网站目录下面,在浏览器运行
4、浏览器就会输入"hello world!"