title: Solarium 3.2.0 create ping for SOLR5.0
body: <p>Installed SOLR 5.0 and started the SOLR instance with <code>bin/solr start -e cloud</code>... normal stuff. The web UI is functioning and can see the two nodes. </p>
  
  <p>Created an index file trying to ping the server per Solarium documentation:</p>
  
  <pre><code>require_once ('init.php');
  $str="Running Solarium client version: ".Solarium\Client::VERSION;
  
  $client = new Solarium\Client($config);
  // create a ping query
  $ping = $client-&gt;createPing();
  var_dump($ping);
  
  // execute the ping query
  try {
      $result = $client-&gt;ping($ping);
      $str=$str.'Ping query successful';
      var_dump($result-&gt;getData());
  } catch (Solarium\Exception $e) {
      echo 'Ping query failed';
  }
  return $str;
  </code></pre>
  
  <p>the $str can show using Solarium client version 3.2.0. </p>
  
  <p>But while doing <code>$client-&gt;ping()</code>, there is an exception:</p>
  
  <pre><code>Problem accessing /solr/admin/ping. Reason:
  Not Found
  </code></pre>
  
  <p>Any hints???</p>
  
  <p><code>config.php</code> pasted here:</p>
  
  <pre><code>&lt;?php
  $config = array(
      'endpoint' =&gt; array(
          'localhost' =&gt; array(
              'host' =&gt; '10.0.0.8',
              'port' =&gt; 8983,
              'path' =&gt; '/solr/',
          )
      )
  );
  </code></pre>
  
  <p>It is a remote connection.</p>