Add /var/lib/php/dl to the open_basedir

tags/smeserver-dl-0.2.1-1 0.2.1_0.fc26_el6
Daniel Berteaud 8 years ago
parent f6928fbd5b
commit 5e9a9489de
  1. 2
      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

Loading…
Cancel
Save