[php] adds config/classmap/output cache