Modify LAMP stack installation

Set up mod_rewrite, DB default characters=>utf8, PHP setup(pear), git