User Tools

Site Tools


check_php_version

Check PHP Version


To see what the PHP version you have installed (and what is available) then use:

  sudo apt-cache policy php5



You can install the latest PHP with the following command:

  sudo apt-get -y install php5 libapache2-mod-php5



To make Apache recognize the updated version you will need to restart Apache:

  sudo service apache2 restart



check_php_version.txt · Last modified: 2017/02/28 18:00 (external edit)