Disable file uploads for specific user

kulabi

Verified User
Joined
Jul 27, 2022
Messages
7
Hello,

I'm tyring to disable file_uploads in PHP for a specific user but I cannot seem to get it to work. With the following you can disable the file uploads:

file_uploads=Off

So I login as Admin and go to HTTPD Configuration and add this into the config:

php_value[file_uploads] = Off

But even after restarting everything (including the server) it doesn't apply. So I'm a bit confused why this isn't working.
 
do you use mod_php or php-fpm ?

if you want to force strict setting, you must use "php_admin_value"
 
Back
Top