Difference between revisions of "Template:PHP/open basedir"
From wiki
(typo) |
(PHP7.0) |
||
Line 21: | Line 21: | ||
{{PHP/open_basedir|folders=/var/lib/roundcube/:/usr/share/roundcube/}} | {{PHP/open_basedir|folders=/var/lib/roundcube/:/usr/share/roundcube/}} | ||
− | </noinclude><includeonly>Edit file <code>[[PHP#Common_configuration|/etc/ | + | </noinclude><includeonly>Edit file <code>[[PHP#Common_configuration|/etc/php/7.0/mods-available/local-common.ini]]</code> and add <code>{{{folders}}}</code> to the [[PHP#Limit_File_Access|<code>open_basedir</code> setting]].</includeonly> |
Revision as of 08:48, 24 June 2017
Description
Edit the PHP setting open_basedir
Parameter | Description | Type | Status | |
---|---|---|---|---|
Folder | folders | Column separated list of folders
| String | required |
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.