phpinfo

phpinfophpinfo
  1. Here , main () calls phpinfo (), which returns TRUE .

    在这里,main()将调用phpinfo(),后者将返回TRUE。

  2. If you didn 't create a phpinfo () page earlier , do so now .

    如果您以前没有创建phpinfo()页面,则可以现在创建。

  3. To verify that your build of PHP is installed , click the phpinfo () link at left .

    要检验您的PHP构建是否已安装,请单击左侧的phpinfo()链接。

  4. If your configuration is correct , you should see a section labeled Zend Debugger in the phpinfo () results .

    如果配置正确,应该会在phpinfo()的结果中看到标有ZendDebugger的一节。

  5. If you don 't see an Xdebug section in the output of phpinfo (), Xdebug failed to load .

    如果您在phpinfo()的输出中没有看到Xdebug部分,则Xdebug装入失败。

  6. Ini configuration file , restart the Web server , and check that the extension is active with a quick call to phpinfo () .

    在php.ini配置文件中启用这个扩展,重启Web服务器,然后调用phpinfo()快速检查该扩展是否已激活。

  7. As with other PHP extensions , to verify that Xdebug is installed and available , create a bare-bones PHP program to call phpinfo () and scan the results .

    对于其他PHP扩展,要验证Xdebug是否安装并可用,可以创建一个简单的骨架PHP程序来调用phpinfo()并查看结果。

  8. Before you get started with PHP , it 's a good idea to throw in a link to a PHP file that will run phpinfo () so that you know what you 're dealing with .

    开始添加PHP代码之前,最好添加一个会运行phpinfo()、指向一个PHP文件的链接,以便您知道自己在处理什么。