How to know the version of PHP is used on xampp?

AKM Nazmul Islam picture AKM Nazmul Islam · Mar 24, 2018 · Viewed 34k times · Source

How to know what version of PHP is used on my xampp?

Answer

AKM Nazmul Islam picture AKM Nazmul Islam · Mar 24, 2018
  1. Put this code in your root directory or htdocs folder of xampp:

  2. <?php phpinfo(); ?>

  3. Save it as phpinfo.php and point your browser to it (this could be http://localhost/phpinfo.php)
  4. Example: random image (Click Here)