general fixes and php packages