Solr returns response in following JSON format.
{ \"responseHeader\":{ \"status\":0, \"QTime\":2, \"params\":{ \"indent\":\"on\", \
Why not just use one of the PHP clients for Solr, or the PHP response writer? See http://wiki.apache.org/solr/SolPHP