Template:PHP/open basedir

From wiki
Revision as of 08:48, 24 June 2017 by Vincent (talk | contribs) (PHP7.0)

Description

Edit the PHP setting open_basedir

Template parameters

ParameterDescriptionTypeStatus
Folderfolders

Column separated list of folders

Example
/var/lib/roundcube/:/usr/share/roundcube/
Stringrequired

Example

{{PHP/open_basedir|folders=/var/lib/roundcube/:/usr/share/roundcube/}}

Edit file /etc/php/7.0/mods-available/local-common.ini and add /var/lib/roundcube/:/usr/share/roundcube/ to the open_basedir setting.