初尝php
打开你下载的wordpress文件夹,如果你用的xampp那它就在xampp安装的文件夹–htdocs文件夹–你可以新建一个test文件夹–新建一个test.php文件
<html>
<head>
<title>First attempt at PHP</title>
</head>
<body>
<?php echo 'hello here is xixi 的 world';?>
</body>
</html>
在网页端
在网页端输入:localhost:8051/test/test.php然后点击回车。
注意:8051是我设置的我的本地端口号,你要改成你自己的
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/e0347bc522961ee15ac57ab526e2ed08.png)