fix php path in composer installer