How to know what version of PHP is used on my xampp?
Moderator: General Moderators
-
- Forum Newbie
- Posts: 1
- Joined: Sun Apr 22, 2018 5:28 am
How to know what version of PHP is used on my xampp?
I am using xampp on my Ubuntu OS. And I need to know what version of PHP my xampp is using. How do I do that?
Re: How to know what version of PHP is used on my xampp?
Code: Select all
<?php
echo 'Current PHP version: ' . phpversion();
?>
- Christopher
- Site Administrator
- Posts: 13592
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: How to know what version of PHP is used on my xampp?
Or for that and more information:
or either from the command line.
Code: Select all
<?php
phpinfo();
(#10850)