How to check PHP Version - Kiểm tra phiên bản php đang dùng
1. Creat a file info.php
with the following line in it:
Then you should open this file in a browser to see the full PHP information. The path to the file should be:Mã:<?php phpinfo(); ?>
http://mydomain.com/info.php
2. Root login via ssh
try running any of the following at the command line
It should give you all information you need about the php install.Mã:php -v #to just get the version information php -i #to get alot of info or