How to check PHP version on Ubuntu - LinuxConfig.org

After installing PHP or an entire LAMP server on Ubuntu Linux, there are a few ways you can check to see what version you're running at any time. This can help you stay up to date and develop web applications that adhere to newer coding standards and conventions, since PHP is still being developed.


This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-check-php-version-on-ubuntu