How to view PHP configuration on your web server

For the installation of Webasyst software and solving of various technical issues it may be necessary to learn the current PHP configuration on your web server. To obtain this information, use PHP function phpinfo(), which displays configuration parameters in a table.

  1. Create a text file with the .php extension, with the following contents:
    <?php
    phpinfo();
  2. Upload this test file to the directory accessible via HTTP; e.g., public_html/, htdocs/, httpdocs/, www/, depending on the server configuration.
  3. Type the URL of the uploaded file in the browser address bar; e.g., http://mydomain.com/test.php. This will display a table with the current PHP configuration parameters as shown in the picture:

0 comments

    Add comment

    To add a comment please sign up or login