Reputation: 321
How to know what version of PHP is used on my xampp?
Upvotes: 14
Views: 117586
Reputation: 2571
In Windows, I navigated to C:\xampp\php, then I right clicked on php.exe -> properties -> "details" tab -> file version
Upvotes: 2
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
Reputation: 394
If you are using new version of xampp.
Try http://localhost/dashboard/phpinfo.php
Upvotes: 35
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
Reputation: 321
Put this code in your root directory or htdocs folder of xampp:
<?php phpinfo(); ?>
Upvotes: 14