codingtcher.com
Theme Night
Home
Login

how to check php version

Home » Tutorial Post » how to check php version

php get version

echo PHP_VERSION;

how to check php version in php

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

checking php version

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

check php version

/* in terminal type it*/
php -v

Related Post