LoginLogin About

Support » Knowledge Base » General questions » Tips for scripts owners »

Where can I view the current PHP configuration parameters?

For installation of WebAsyst and solving various technical issues it may become necessary to know the current PHP configuration. To obtain such information, use PHP function phpinfo() which displays configuration parameters as a table, as described below:

  1. Create a text file with the .php extension and the following contents (for instance, test.php):
    <?php
    phpinfo();
    ?>
  2. Upload the test file into the directory accessible via HTTP, e.g. public_html/, htdocs/, httpdocs/, www/ or a different one, depending on the server configuration.
  3. Type the URL of the uploaded file in the browser address bar. If the test file has name test.php, its URL would have the form http://mydomain.com/test.php. The page at that URL should display a table with the parameters of the current PHP configuration as shown in the picture: