php -v // Version de PHP installée
→ /etc/apache2/httpd.conf
sudo nano /etc/apache2/httpd.conf // CTRL+W pour rechercher (Where Is) // on recherche 'php' // on décommente la ligne suivante pour activer php : LoadModule php5_module libexec/apache2/libphp5.so
// my_phpinfo.php <?php phpinfo(); /* output les infos sur PHP* / ?>