4
For all :
To check whether your hosting provider has updated PHP,
Method 1:
- Create a file called infophp-wxyz.php with the following content:
<?php
phpinfo();
?>
- Upload it to the root directory of your website and visit the page: mysite.com/infophp-wxyz.php
- Check the PHP version and, most importantly, the build date (
21/10/2026 if your hosting provider has applied a patch)
- Delete the infophp-wxyz.php file as soon as you have viewed it.
Method 2:
If you have SSH access to your hosting account, type:
php -v
Result:
PHP 8.x.y (
built: 21 Oct 2026 14:22:18)