What Version of PHP Am I Using?

With a variety of available PHP versions, it can be challenging to identify which version your site is utilizing. This can be even more challenging to determine given that PHP versions are defined in the .htaccess file, meaning that subfolders can inherit the versions their parent directories are using.

The easiest way to be certain what version of PHP a folder is using is to create a phpinfo.php file in that directory and navigate to it. The top of the phpinfo page will tell you what version of PHP is being referenced by that directory.

PHP version page

Was this article helpful?

Related Articles