Template:PHP/open basedir: Difference between revisions

From wiki
Created page with "<noinclude> == Description == <templatedata> { "params": { "folders": { "label": "Folder", "description": "Column separated list of folders", "example": "/var/lib/..."
 
typo
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/php5/mods-available/local-common.ini]]</code> and add <code>{{{domain}}}</code> to the [[PHP#Limit_File_Access|<code>open_basedir</code> setting]].</includeonly>
</noinclude><includeonly>Edit file <code>[[PHP#Common_configuration|/etc/php5/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 07:47, 14 June 2016

Description

Edit the PHP setting open_basedir

Template parameters[Edit template data]

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/php5/mods-available/local-common.ini and add /var/lib/roundcube/:/usr/share/roundcube/ to the open_basedir setting.