[TUTORIAL] How to check or verify your actual server PHP settings

Posted in: Newspaper
Post count: 9544

While some folks may not know how to use their PHP settings panel in their hosting, or don’t quite understand why the info reported by theme status is different from a local php.ini file for your hosting account, etc. — it’s often highly useful to *peek* at your ACTUAL site/server php setup using a simple query. Most good hosts might even have put such a file in your root directory anyway, perhaps not.

But it’s simple enough to find out:

Simply create a blank empty text file (not Word doc!) — and call it something like
phpinfo.php

then simply put this at top of the file and nothing else
<?php
phpinfo();
?>

then FTP the file into your public root, where your website is.

Then simply load the file in your web browser:
mysite.ggg/phpinfo.php

This simple query shows all kind of status about your php setup, installed modules, etc.
You can likely delete or rename the file to anything else for security purposes after looking at it.

Post count: 20685

Hi,

Useful to know. Thank you Chris for this tutorial.

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.