Can upload a video now that is all most 4GB!
-
In the /etc/php/7.2/apache2/php.ini file I all ready had set max MB and things and still would get a error uploading a MP4 video.
I edit 2 lines so not sure what one fixed it but they are:
post_max_size = 0M
max_input_time = 1024
Just guessed at a max_input_time. I think a 0 or -1 would be unlimited. With upload speed slow it can take about 10 minutes or so.
Restarted Apache and can just drag and drop big MP4 videos to WordPress now.
Looked at other lines I think I changed in the php.ini file:
upload_max_filesize = 98021M
max_execution_time = 180
memory_limit = 128M
I think that my be it. Looked on line for help and nothing help.
Looked at the Apache error log and that helped.
PHP Warning: POST Content-Length of 622455978 bytes exceeds the limit of 7340032 bytes in Unknown on line 0
A line like that.
Wow wanted this for years. I was just making a fake MP4 file with the file name of text in it. Then could upload that and then used WinSCP to over right that small fake mp4 video with the real one and it shows up in WordPress then and in it’s Media database too.
-Raymond Day
- The topic ‘Can upload a video now that is all most 4GB!’ is closed to new replies.