0

When I try to upload an mp4 file with 84mb. It gives me this error

"Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page."

SSL is activated

Laurel
  • 5,965
  • 14
  • 31
  • 57
  • Good read https://stackoverflow.com/questions/59915558/wordpress-unexpected-response-from-the-server-the-file-may-have-been-uploaded – RiggsFolly Jul 29 '21 at 19:20

2 Answers2

0

You may need to adjust the values to higher numbers for larger files.

Try doing following steps:

Open Cpanel -> File manager Click search and type 'php.ini' -> Right click this file and choose edit.

change value of following

memory_limit 
post_max_size 
upload_max_filesize

Adjust the values to higher numbers for larger files. Save and try again uploading.

Dharman
  • 30,962
  • 25
  • 85
  • 135
PHP Geek
  • 3,949
  • 1
  • 16
  • 32
0

I also had this problem

First you need to install a file manager plugin. Open file manager, search for a file with the name: .htaccess

Edit this file, at the bottom add the following:

php_value upload_max_filesize 1000M
php_value post_max_size       2000M
php_value memory_limit        3000M
php_value max_execution_time  180
php_value max_input_time      180

Save and close Try uploading again, in my case worked.

I followed the instructions from this video: https://www.youtube.com/watch?v=TnI_h-QjrWo

Samuel Hassid
  • 627
  • 5
  • 10