title: When I try to apply my own style to the tiles served by Tileserver PHP, I get this error: "Unable to parse URL object"
body: <p>In search of a simple tileserver, I found <a href="https://github.com/maptiler/tileserver-php" rel="nofollow noreferrer">Tileserver PHP</a>. I tried to follow this 
  <a href="https://openmaptiles.org/docs/host/tileserver-php/" rel="nofollow noreferrer">tutorial</a>. I'm hosting the files on a Linux box with address 192.168.2.22 in my network, of course with Apache and PHP. I had success when I opened <a href="http://192.168.2.22/tileserver/" rel="nofollow noreferrer">http://192.168.2.22/tileserver/</a>, because I then saw the tiles I downloaded in *.mbtiles format. Then I tried to apply <a href="https://github.com/openmaptiles/osm-bright-gl-style/tree/gh-pages" rel="nofollow noreferrer">this version of OSM Bright Style</a>. As described in the tutorial, I adapted file style-cdn.json. In my case, the modified section looks like this:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>"sources": {
      "openmaptiles": {
          "type": "vector",
          "url": "/tileserver/tileserver.php?/2017-07-03_bangladesh_dhaka.json"
      }
  },
  "sprite": "/brightstyle/sprite",</code></pre>
  </div>
  </div>
  </p>
  
  <p>As you can see, I used a relative URL. I also tried things with the absolute address, but I did not see any differences. Anyway, when I point my browser to <a href="http://192.168.2.22/brightstyle/" rel="nofollow noreferrer">http://192.168.2.22/brightstyle/</a>, I don't see any tiles appearing. I noticed that an error occurs in the client - unfortunately. It is shown in the console of my Firefox browser: Error: "Unable to parse URL object". It occurs after retrieving <a href="https://api.tiles.mapbox.com/mapbox-gl-js/v1.5.0/mapbox-gl.js" rel="nofollow noreferrer">https://api.tiles.mapbox.com/mapbox-gl-js/v1.5.0/mapbox-gl.js</a>. Further info from the console:<br>
  ajax.js:169<br>
  evented.js:136:20<br>
  fire evented.js:136<br>
  _request style.js:201.<br></p>
  
  <p>What is causing this error and what can I do to solve this?</p>