会员中心 > 知识仓库 > 主机问题与技巧 > 如何创建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信息