sudo apt-get update
sudo apt-get install php5 libapache2-mod-php5
在 DocumentRoot 下新增 info.php
info.php
<?php phpinfo (); ?>
http://127.0.0.1/info.php