PHP Useful CLI Commands List
PHP

PHP Useful CLI Commands List

PHP Version : To verify your default PHP version. $ php -v PHP Info : We can use phpinfo() which is a very valuable debugging tool directly on the Linux command-line without the need of calling it from a file, simply as : $ php -r ‘phpinfo();’ Set Default PHP7.2 Version : To set php default version use below command.…

Continue Reading