Fixing for server php issues