chmod folders, set php.ini and error log