How to check your PHP settings values
Checking your current PHP settings
If you want to know what settings are in effect on your server, then create a php file containing the following code and browse to it using a web browser.
<?php phpinfo(); ?>
The page will return all of the PHP environment settings, and module information.
e.g. use Onyx File Manager to create a new file called phpinfo.php
inside your www/html/
directory and copy/paste in the above line of code and Save the file. You can now view this file at https://<your-domain>/phpinfo.php
- replacing <yourdomain>
with your primary domain served from /www/html
.
The details output are often quite long - so you could use your browsers search function (often enabled by Ctrl+F on a PC or Command+F on a Mac) to find the setting you want to confirm.