Viewing current PHP values

Expertise level: Easy

If you want to see the current values attributed to PHP under a certain directory, you need to look at a phpinfo.php page. That page is usually located in /public_html/ directory of your account, meaning you can reach it by typing If the file is not there, you must upload one.

  • You can also create your own using a Text Editor such as Notepad under Windows, or TextEditor under Mac OS. Here is what you would input:

    <?php phpinfo(); ?>
  • Save this file as "phpinfo.php" and upload it to the desired directory (sometimes PHP values are changed in subdirectories and having a new phpinfo page setup in that directory can be a useful troubleshooting tool).
  • To view, simply type in
Have more questions? Submit a request


Article is closed for comments.
Powered by Zendesk