If you've dabbled in PHP, there comes times when you need to see what certain settings are on your server. You see what the server settings are by uploading a phpinfo.php file to the root directory.
Here's what the phpinfo.php file code looks like:
phpinfo.php
PHP | | copy code | | ? |
1 | <?php |
2 | phpinfo(); |
3 | |
4 | phpinfo(INFO_MODULES); |
5 | |
6 | ?> |
source: http://php.net/manual/en/function.phpinfo.php
Use ftp to upload this file to your hosting account's root directory. You can see your server's settings my navigating to the absolute path to the file in a web browser.
Example: http://www.mywebsite.com/phpinfo.php