upload_max_filesize in .user.ini Not Reflected in Media Upload
I would like to know why Media Upload does not detect the upload_max_filesize that had been set in .user.ini file as shown below.
max_execution_time = 10000
memory_limit = 512M
upload_max_filesize = 20M
post_max_size = 20M
This is the phpinfo.php.
http://i.imgur.com/Ss01Dmd.png
This is the error message after uploading a 10MB PDF file.
http://i.imgur.com/ftLLdJq.png?2
I do not want to apply these settings in php.ini because there are still multiple projects are running inside the server. That is why I prefer to set all the setting in user.ini.
Any kind soul please help me edit the image link.
Much appreciate.
Topic php.ini media-library uploads Wordpress
Category Web