How do I find PHP configuration information?
The best way to find the PHP configuration for your server is to create a phpinfo.php file.
-
Create a file called
phpinfo.phpwith the following contents:<?phpphpinfo();?> -
Upload
phpinfo.phpto yourpublic_htmlfolder. -
Visit the file in your browser at
https://yourdomain.com/phpinfo.php(replacingyourdomain.comwith your actual domain).
This will display the full PHP configuration for your account. Remember to delete the file when you’re done, as it exposes server information.