Including php class to avoid issue with undefined php prefix
Only write solr.xml for 3.x version of solr