Enable proc_open
authorTom Hughes <tom@compton.nu>
Thu, 23 Jul 2020 12:56:05 +0000 (13:56 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 23 Jul 2020 12:56:55 +0000 (13:56 +0100)
cookbooks/dmca/templates/default/apache.erb
cookbooks/donate/templates/default/apache.erb
cookbooks/wordpress/templates/default/apache.erb

index 592c0d336227d8230dc614e64176b717669d75d4..373c63af276c800ccc7c110c52c8eb0bf0bbeedc 100644 (file)
@@ -48,7 +48,7 @@
 
   Options -Indexes
 
-  ProxyFCGISetEnvIf "true" PHP_ADMIN_VALUE "open_basedir=<%= @directory %>/html/:/usr/share/php/:/tmp/\ndisable_functions=exec,shell_exec,system,passthru,popen,proc_open"
+  ProxyFCGISetEnvIf "true" PHP_ADMIN_VALUE "open_basedir=<%= @directory %>/html/:/usr/share/php/:/tmp/\ndisable_functions=exec,shell_exec,system,passthru,popen"
 </VirtualHost>
 
 <Directory <%= @directory %>/html>
index 4efae184eb99259fef8257d2813f751136f8d489..2b3c2f18f15fa041456222c51c9b3beaf989acb6 100644 (file)
@@ -27,7 +27,7 @@
 
   DocumentRoot /srv/donate.openstreetmap.org
 
-  ProxyFCGISetEnvIf "true" PHP_ADMIN_VALUE "open_basedir=/srv/donate.openstreetmap.org/:/usr/share/php/:/tmp/\ndisable_functions=exec,shell_exec,system,passthru,popen,proc_open"
+  ProxyFCGISetEnvIf "true" PHP_ADMIN_VALUE "open_basedir=/srv/donate.openstreetmap.org/:/usr/share/php/:/tmp/\ndisable_functions=exec,shell_exec,system,passthru,popen"
 
   # Alias Dynamic Content to data folder to avoid serving dummy git content
   Alias /donors-eur.csv /srv/donate.openstreetmap.org/data/donors-eur.csv
index ea2e20c0c2a2bbf641a2fe74b5e62de3e4248ba9..9b691798203ed299d64bb6c7b4d2932864a6b015 100644 (file)
@@ -42,7 +42,7 @@
   </Directory>
 <% end -%>
 
-  ProxyFCGISetEnvIf "true" PHP_ADMIN_VALUE "open_basedir=<%= @directory %>/:/usr/share/php/:/tmp/\ndisable_functions=exec,shell_exec,system,passthru,popen,proc_open"
+  ProxyFCGISetEnvIf "true" PHP_ADMIN_VALUE "open_basedir=<%= @directory %>/:/usr/share/php/:/tmp/\ndisable_functions=exec,shell_exec,system,passthru,popen"
   ProxyFCGISetEnvIf "true" PHP_VALUE "upload_max_filesize=70M\npost_max_size=100M"
 
   <Directory <%= @directory %>>