The UpdatePHP probe file is a small PHP script you place on a website so UpdatePHP can read the real PHP version that server is running. It is used by the My Sites portfolio when response headers do not expose PHP, or when you want a reliable version check instead of guessing from headers alone.
Pronto a usare la sonda PHP sui tuoi siti?
Many hosts hide the PHP version in HTTP response headers. Remote scanners then cannot tell which release a site is on. The probe file runs on the server itself and returns the version from PHP's own constants, so the reading matches what that site actually uses.
After you download the probe from your UpdatePHP account and upload it, UpdatePHP can request it using a per-site secret and short-lived HMAC signatures (no long-lived key in the URL). With a valid signed request the file can:
The download is built dynamically: only the checks you select are included in that site's probe file. Without a valid signature the script exits and returns nothing useful. It does not list arbitrary files, run database queries, or dump phpinfo.
The probe is written for the widest practical range: it runs on PHP 5.6.0 through current PHP releases. If the file fails to run, is blocked by a host or ISP, or shows a PHP compatibility issue, please contattaci so it can be investigated.
.php file without editing it. The filename includes a random token (for example updatephp-probe-a3f9c2b1e04d.php) so it is not a predictable fixed name.index.php or index.html lives). If the site is installed in a subfolder (for example https://example.com/shop), upload the probe into that /shop folder — not the domain document root.The file must start with <?php on line 1. Do not add a BOM, blank lines, or HTML above that tag, and do not rename or edit the script body. If you change the selected options, download again and replace the file on the server.
Run a rescan on that site from My Sites. If the probe is reachable at the Website URL path and the signature matches, UpdatePHP stores the reported PHP version (encrypted at rest) and uses it for risk and end-of-life status like any other tracked site. Selected extras are stored with the scan result.
If the scan cannot reach the probe, confirm the file is in the public folder that matches the Website URL (including any subfolder path), the filename was not changed, and that URL matches the live site location. After rotating a key, the old file will stop working until the new download is uploaded.
Pronto a usare la sonda PHP sui tuoi siti?