会员中心 > 知识仓库 > 主机问题与技巧 > 如何创建phpinfo查看php信息?


如何创建phpinfo查看php信息?




To create the file simply add the following lines of code to a blank document and name the file phpinfo.php 

创建一个简单的文本文档并命名为phpinfo.php

<?php
phpinfo();
?>


Save the file as phpinfo.php and place it in the desired directory. Lastly, call the script from a browser.

将上面的代码写入并保存该文档,通过浏览器访问这个文件即可显示PHP信息

 



这个答案是否有帮助?

加入收藏 加入收藏    打印本文 打印本文

延伸阅读
常用SEO工具 (点击: 825)
WordPress改中文 (点击: 876)