From 992c65c482fc4fb8a784a010fe2288257553d840 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 29 Jul 2018 13:25:09 +0100 Subject: [PATCH] Allow mediawiki instances to access /dev/null --- cookbooks/mediawiki/templates/default/apache.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/mediawiki/templates/default/apache.erb b/cookbooks/mediawiki/templates/default/apache.erb index 913fc9acc..3c8b4d7ac 100644 --- a/cookbooks/mediawiki/templates/default/apache.erb +++ b/cookbooks/mediawiki/templates/default/apache.erb @@ -32,7 +32,7 @@ DocumentRoot <%= @directory %> - php_admin_value open_basedir <%= @directory %>/:/usr/share/php/:/tmp/ + php_admin_value open_basedir <%= @directory %>/:/usr/share/php/:/dev/null:/tmp/ #php_admin_value disable_functions "exec,shell_exec,system,passthru,popen,proc_open" php_value memory_limit 128M php_value max_execution_time 240 -- 2.43.2