Lounge Network - Knowledge Base

  View Printer Friendly Version Search
KNOWLEDGE BASE HOME » 15. INFORMATION: SCRIPT AND PROGRAMMING QUESTIONS Viewing Answer
How do I create a phpinfo.php file?

Paste the following code into microsoft notepad (or a similar text editor), and save it as phpinfo.php. Then upload the phpinfo.php file into the directory you would like to test. You can then run the phpinfo.php file by going to it's location in your web browser. eg www.yourdomain.co.nz/myfolder/phpinfo.php


<?php


// Show all information, defaults to INFO_ALL


phpinfo();


// Show just the module information.


// phpinfo(8) yields identical results.


phpinfo(INFO_MODULES);


?>


KNOWLEDGE BASE HOME » 15. INFORMATION: SCRIPT AND PROGRAMMING QUESTIONS Viewing Answer




Knowledgebase Manager

© Copyright Lounge Network 2001-2017