open drupal\core\lib\Drupal.php in your text editor
you will see something like this (from line 79 to line 84)
class Drupal {
/**
* The current system version.
*/
const VERSION = '8.2.3';
Drupal version : 8.7.10
Site URI : http://default
DB driver : mysql
DB hostname : localhost
DB port : 3306
DB username : root
DB name : drupal_8_7_10
PHP binary : /usr/bin/php7.4
PHP config : /etc/php/7.4/cli/php.ini
PHP OS : Linux
Drush script : /opt/lampp/htdocs/drupal-8.7.10/vendor/drush/drush/drus
h
Drush version : 10.2.0
Drush temp : /tmp
Drush configs : /opt/lampp/htdocs/drupal-8.7.10/vendor/drush/drush/drus
h.yml
Drupal root : /opt/lampp/htdocs/drupal-8.7.10
Site path : sites/default