Find my PHP version using phpinfo
One way to find your account PHP settings is to upload a PHP info script. This works on any account that supports PHP.
- Create a new text file containing the following line:
<?php phpinfo(); ?>
- Save this file as
info.php
. - Upload it to the root of any website.
- After you upload it, go to http://your domain name/info.php
Viewing this page will show you what version of PHP you are running, as well as all of the installed PHP modules and their settings.
More info
- If you've got a Web Hosting (cPanel) account, you can also find and change the PHP version in your account Dashboard.