Page 1 of 1

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

Posted: Sun Apr 22, 2018 5:38 am
by onepiece3d2y
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?

Posted: Mon Apr 30, 2018 9:14 pm
by Vegan

Code: Select all

<?php
echo 'Current PHP version: ' . phpversion();
?>

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

Posted: Tue May 01, 2018 3:59 pm
by Christopher
Or for that and more information:

Code: Select all

<?php
phpinfo();
or either from the command line.