This is an old revision of the document!
How To Create A PHP Info Page:
To view your current PHP version , configuration and such, you will need to create a PHP info page.
Assuming your website is under /home/username/public_html
, then create a new file under that directory, name it like phpinfo.php
, with following code:
<?php phpinfo(); ?>
Now access it by http://your-domain/phpinfo.php
You will see all your current PHP configuration, this would be helpful when you troubleshooting PHP related issue.