(STILL NOT FIXED) PHP - Website loading because of file size -


this question has answer here:

i making basic website can sign , login. working fine, except uploading image file use profile picture. whenever file around 300+ mb , submit form, page keeps loading , gives me

'502: bad gateway'

as error.

i tried changing max_file_size in php.ini, did not change anything. tried increasing memory_limit in php.ini, again, did not fix problem

edit 1:
getting the

502: bad gateway

error still whenever use phpstorm. when uploading nas (which has phpmyadmin , apache installed) works there. changed settings in php.ini, did not change said few times. stop giving me answer, since found answer billion times.

edit 2: edited post , said has been answered already. not case. still having same problem!!!

in php.ini need set both of following values:

; maximum size of post data php accept. ; http://php.net/post-max-size post_max_size=300m  ; ... more ini stuff...  ; maximum allowed size uploaded files. ; http://php.net/upload-max-filesize upload_max_filesize=300m 

that should fix uploading probelm.


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -