From 5e9a9489ded388927e368e03560f93d899c8b513 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 26 Jul 2017 18:45:26 +0200 Subject: [PATCH] Add /var/lib/php/dl to the open_basedir --- root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Dl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Dl b/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Dl index 73fa574..20298e7 100644 --- a/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Dl +++ b/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Dl @@ -34,7 +34,7 @@ php_admin_value[max_execution_time] = 0 php_admin_value[post_max_size] = $max_upload_size php_admin_value[upload_max_filesize] = $max_upload_size php_admin_value[disable_functions] = system, show_source, symlink, exec, dl, shell_exec, passthru, phpinfo, escapeshellarg, escapeshellcmd -php_admin_value[open_basedir] = /usr/share/dl:/etc/dl.php:/var/lib/dl:/var/log/dl.log +php_admin_value[open_basedir] = /usr/share/dl:/etc/dl.php:/var/lib/dl:/var/log/dl.log:/var/lib/php/dl php_admin_flag[allow_url_fopen] = off php_admin_flag[file_upload] = on php_admin_flag[session.cookie_httponly] = on