title: Create extension postgis gives error: could not open extension control file "/opt/pgpro/std-11/share/extension/postgis.control"
body: <p>ubuntu server 16.04<br>
  postgres Pro standart 11.5 (<a href="https://postgrespro.ru" rel="nofollow noreferrer">https://postgrespro.ru</a>)<br>
  postgis 2.5   </p>
  
  <h2>UPDATE: I found the answer, see below</h2>
  
  <p>Posgis is successfully installed in the extensions directory of Postgresql (<code>usr/share/postgresql/11/extension</code>), and of course, postgre Pro (which extensions folder is <code>opt/pgpro/std/-11/share/extension</code>) cannot find file <code>postgis.control</code>.    </p>
  
  <p>So, my questions:<br>
  1) Can i configure postgresql.conf (config file of postgres pro) to use extensions folder of postgresql?<br>
  2) If only solution is installing postgis from binary, then how to set my config file of postgres pro?</p>
  
  <p>I've already tried:<br>
  1. Removing postgresql from server.<br>
  2. I tried to transfer postgis files, from postgresql extension's folder to postgres pro.</p>