(STILL NOT FIXED) PHP - Website loading because of file size -
this question has answer here:
- php change maximum upload file size 13 answers
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
Post a Comment