首先安装好php(5.3.3以上)、apache和mysql apache 开启mod_rewrite 模块 将所有AllowOverride None设置为AllowOverride FileInfo以允许.htaccess重载 php 开启PDO扩展