Answers for "terminal check php version"

PHP
1

checking php version

<?php
echo 'PHP version: ' . phpversion();
?>
Posted by: Guest on February-12-2021
1

check php version linux terminal

/* in terminal type it*/
php -v
Posted by: Guest on March-24-2021
0

php version command linux

# php -v
PHP 5.4.16 (cli) (built: Mar  7 2018 13:34:47) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
Posted by: Guest on June-08-2020
0

php version command linux

# php --version
PHP 5.4.16 (cli) (built: Mar  7 2018 13:34:47) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
Posted by: Guest on June-08-2020

Code answers related to "terminal check php version"

Browse Popular Code Answers by Language