•  · 31 friends

Installation and no access to php.ini

If I haven't access to php.ini on the server, in order to set allow_url_include, etc. is there a way to solve the trouble and proceed the installation?

  • 46
  • Hello, look here, I have never tested this solution, but you can try.

    • Hi! I will try this! Thanks.

      • Unfortunately this approach (above) doesn't work in this server. Anybody has another?

        • Same problem here. It looks like UNA is not made for shared hosting services.

          • Really! This is a trouble should be reviewed and solved.

            • Actually, UNA can run on shared hosting. The problem is whether your web hosting provider meets the requirements to run UNA, which can be found HERE:

              https://github.com/unaio/una/wiki/Requirements 

              On some shared hosting providers, what happens is they host multiple websites on a single server. So let's say there are 25 websites (some do a lot more) on a single server. If the provider has configured that server with PHP version 7.1 and configured with certain functions/modules enabled then, ALL 25 websites are subject to the same configurations. If a change is made, then it reflects everyone and not just your site. 

              As Baloo mentioned above, some hosting providers will allow you to over-ride the PHP by creating your own php.ini file and placing it in your root directory. But that doesn't always work.

              Some hosting companies will assist with "special" requirements however, they mostly tell you to upgrade to a VM or dedicated server if you need more resources or requirements. 

              So if all else fails and you have recently purchased shared hosting from a 3rd party, some will give a refund and you could find a new hosting providing that does meet the requirements. 

              4
              1
              1
              1
              Added:
              Category: