Fix php loading warnings