Custom php ini open_basedir

  • Hey folks,


    I just installed a cloud (Nextcloud) on my server. I want to use "/home/cloud" as the data store.
    This works fine (settings open_basedir in php ini and add the /home/cloud path) but when the files are recreated (because auf an update e.g.) this option will be overwritten.


    Is there a method to make this option persistent?
    (The home directory is owned by the vu user)



    /Edit.
    Nice.
    Found it by myself.
    Keyword: Listener File. If anyone else has this problem - https://github.com/i-MSCP/imsc…p_confoptions_override.pl

  • Ah ok. BTW: You can mount the second hard drive also to the 00_private folder, but with open_basedir it's also nice solved :)