How do I check my PHP or MySQL Version from the Ubuntu Command Line?
# php -v
# mysql -v
or for a better version use the package command:
# dpkg -l | grep ‘\(php\|mysql\)’
How do I check my PHP or MySQL Version from the Ubuntu Command Line?
# php -v
# mysql -v
or for a better version use the package command:
# dpkg -l | grep ‘\(php\|mysql\)’