Fixed php config path
Enabled mod rewrite to apache and configured permissions to app tmp folder