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

43,140

Solution 1

  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)

Solution 2

The above answer won't work if you are using new version of xampp.

Try http://localhost/dashboard/phpinfo.php

Share:
43,140
AKM Nazmul Islam
Author by

AKM Nazmul Islam

I am AKM Nazmul Islam a certified WordPress Expert, Shopify Full Stack Developer &amp; dedicated Web Designer with 4+ years of experience. I ensure the best quality and professionalism for my honorable clients. I promise you to deliver my best &amp; easy communication. Feel free to contact me if you are facing any issues regarding WordPress, Shopify &amp; Web Design. Thank you.

Updated on September 29, 2020

Comments

  • AKM Nazmul Islam
    AKM Nazmul Islam over 3 years

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