Table of Contents

Installing to YosemiteUpgrading PHP

Enabling PHP

php -v // Version de PHP installée

Configuration

→ /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

fichier de base

// my_phpinfo.php
<?php phpinfo(); /* output les infos sur PHP* / ?>