Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

By jana
I used to use a web hosting with cPanel and there is no problem with drag and drop image uploading ( every file is less than 2MB ).
The uploading method is like
<img src=“data:image/jpeg;base64,xxxxxxx…”>
and I post it on url into php to encode to a image file.
After I moved my website to Digital Ocean VPS web hosting and some problem just happened with drag and drop uploading.
If any file size is larger than 730KB, the uploading will be fail.
I have google a lot, including modify php.ini like post_max_size, upload_max_filesize, even set ini_set(‘memory_limit’, ‘256M’) and ini_set(‘post_max_size’, ‘8M’) in php file, it’s not working at all.
please help me to fix this.