Just create a new php file – check.php – with the following content and open it in your preferred web browser:
https://domain.com/check.php
// prints e.g. ‘Current PHP version: 8.0.1’
echo ‘Current PHP version: ‘ . phpversion(). ‘
‘;
// lists all PHP extensions
foreach (get_loaded_extensions() as $i => $ext)
{
echo $ext .’ => ‘. phpversion($ext). ‘
‘;
}
?>
Simon Guetta




