Hello! Through ajax, I try to send a string (files encoded in base64) of type json. The problem is that if I encode files with a total volume up to about 10mb, then it works successfully. If the volume is increased, for example, to 15mb, then it gives an error "500 Internal Server Error". In PHP, post_max_size = 100M , the server is on IIS, there maxAllowedContentLength is also 100mb. What could be the reason?
- In the PHP configuration there is also upload_max_filesize. Maybe that's the point. Or in the server config. Apache has LimitRequestBody, I’ll not say for IIS. Or maybe PHP just doesn't have enough memory for further actions with these files. Again for IIS I will not say, but under LAMP with a lack of memory, PHP crashes with the status of 500. - user239133
- so big line or file? - teran
- @ alexander-zonov, upload_max_filesize does not affect this, as it is taken into account only when transferring files, and in my case - a string. Is it possible to somehow solve the problem of low memory? - full_null
- @teran, the contents of the file is encoded in base64 and a large string is obtained - full_null
- in the logs is empty? - teran
|