Adding the custom php.ini to the root folder doesn’t seem to have much effect on the system. Should it be placed in the public folder or somewhere else instead than the root to work? (We’re using Apache by the way).
The reason we are doing this is that invoice Ninja is reporting that the open_basedir isn’t set.
open_basedir = ${open_basedir} ":path-to-public_html" in custom php.ini file…
I’m running my own Linux /ubuntu server with php 8 (VPS), so it is not shared hosting.
I tested and added the .ini file in public folder too, but to no avail as it didn’t do anything.
Hi @david
I mean I know the loaded path which is the default php.ini file in etc/ … apache2/… php.ini
But it is better (at least from what i learned and for a security stand point), to use a local php for the website than mess around with the global php.ini but as you know that one does not load. Hence why I asked for if the php.ini needs to be placed somewhere special in the Invoice Ninja folder hierarchy…