Php也做完了;
测试一下php是否成功:
先修改nginx配置文件




<html>
<head>
<title>Welcome to nginx!</title>
</head>
<body bgcolor="white" text="black">
<center><h1>Welcome to nginx!</h1></center>
</body>
</html>
<?php
phpinfo();
?>
~
然后重启服务:

查看结果。
|
背景:
阅读新闻
相关资讯
LNMP
|
最新资讯
|