php.ini template (open_basedir)

5 posts / 0 new
Last post
#1 Thu, 03/31/2016 - 08:14
banaan

php.ini template (open_basedir)

I want to set open_basedir to $home upon creating a virtual server. How can I do this? Where can I edit the php.ini template?

Thu, 03/31/2016 - 10:17
andreychek

Howdy,

You can specify the php.ini template to use in System Settings -> Server Templates -> Default -> Apache Website.

-Eric

Thu, 03/31/2016 - 15:34
banaan

Thanks for your reply.

Can you be more specific how I could set the open_basedir setting to the home directory of the newly created virtual server?

Sun, 04/03/2016 - 11:58
banaan

Seems to me there should be a solution for this without creating a custom plugin. Other packages like Direct Admin support this. Anyone?

Tue, 04/05/2016 - 06:14
banaan

Created an issue (feature request): https://www.virtualmin.com/node/40261

Topic locked