AKM Nazmul Islam
AKM Nazmul Islam

Reputation: 321

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

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

Upvotes: 14

Views: 117586

Answers (5)

RedDragonWebDesign
RedDragonWebDesign

Reputation: 2571

In Windows, I navigated to C:\xampp\php, then I right clicked on php.exe -> properties -> "details" tab -> file version

enter image description here

Upvotes: 2

Jaya Gowry
Jaya Gowry

Reputation: 11

Go to xampp control panel start the apache and mysql and click the admin besides the MySQL. After phpmyadmin page open, there you can see php version, Apache version and MySQL version in that open page.

Upvotes: 1

Prosenjeet Paul
Prosenjeet Paul

Reputation: 394

If you are using new version of xampp.

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

Upvotes: 35

shashikant pandit
shashikant pandit

Reputation: 556

First open your Locate directory where using Xampp

C:/Xampp/php

Type cmd on folder address bar and hit Enter

And then Type command php -v

Upvotes: 10

AKM Nazmul Islam
AKM Nazmul Islam

Reputation: 321

  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)

Upvotes: 14

Related Questions