I created an API for data in a website.
This API creates a php file, which is put in a cache directory. (Data are stored in an array and json_decode)
It works until my file weighs less than 5-6 Mo, after this size i have a white page.
Several possibilities come to mind
- Php limit size : i try to insert
ini_set('memory_limit', '1024M');
but no - JSON limit size
- Server limit size
I know my question is very "open" but any help will be appreciate