I have faced issue of upload_max_filesize
, I have updated php.ini
file on server with adding following.
memory_limit = 500M
post_max_size = 500M
file_uploads = On
max_execution_time = 600
max_input_time = 900
upload_max_filesize =500M
Also I have updated .htaccess file like..
<IfModule php7_module>
php_flag display_errors
php_value post_max_size 500M
php_value max_execution_time 330
php_value max_input_time 260
php_value max_input_vars 1000
php_value memory_limit 500M
php_value session.gc_maxlifetime 1440
php_value session.save_path "/var/cpanel/php/sessions/ea-php70"
php_value upload_max_filesize 500M
</IfModule>
But still i am getting same error The uploaded file exceeds the upload_max_filesize directive in php.ini
, I just trying to upload 2MB
video but getting same error.
Why does it i happen i don't know , I have also words with server support center and they told me that they have set 500MB
max_upload_size.