Comment connaitre la version de PHP installée sur Ubuntu ?
Voici la ligne de commande qui permet de connaiter la version de PHP qui est installée sur un serveur :
1 |
dpkg -l | grep php |
Résultat sur Ubuntu 10.04 Server :
1 2 3 4 5 6 |
ii libapache2-mod-php5 5.3.2-1ubuntu4.1 server-side, HTML-embedded scripting languag ii php5-common 5.3.2-1ubuntu4.1 Common files for packages built from the php ii php5-gd 5.3.2-1ubuntu4.1 GD module for php5 ii php5-mcrypt 5.3.2-0ubuntu1 MCrypt module for php5 ii php5-mysql 5.3.2-1ubuntu4.1 MySQL module for php5 ii phpmyadmin 4:3.3.2-1 MySQL web administration tool |
merci beaucoup