diff --git a/htdocs/website/index.php b/htdocs/website/index.php
index f8121d7778d..98fd0f43daf 100644
--- a/htdocs/website/index.php
+++ b/htdocs/website/index.php
@@ -2281,7 +2281,8 @@ if (!GETPOST('hide_websitemenu'))
$htmltext .= '
'.$langs->trans("CheckVirtualHostPerms", $langs->transnoentitiesnoconv("ReadPerm"), DOL_DOCUMENT_ROOT);
$htmltext .= '
'.$langs->trans("CheckVirtualHostPerms", $langs->transnoentitiesnoconv("WritePerm"), DOL_DATA_ROOT.'/website
'.DOL_DATA_ROOT.'/medias');
- $examplewithapache = ''."\n";
+ $examplewithapache = '#php_admin_value open_basedir /tmp/:'.DOL_DOCUMENT_ROOT.':'.DOL_DATA_ROOT.':/dev/urandom'."\n";
+ $examplewithapache .= ''."\n";
$examplewithapache .= 'AllowOverride FileInfo Options
Options -Indexes -MultiViews -FollowSymLinks -ExecCGI
Require all granted