The server (maddogdomains) throws error 503, when the phpspreasheet plugin loads an Excel of 22MB and more than 40,000 records, see line 10 ($reader->load($inputFileName)) of the following code:
$data = array(
'upload_data' => $this->upload->data()
);
$inputFileType = 'Xls';
$inputFileName =$data['upload_data']['full_path'];
$cache = new FilesystemCache();
\PhpOffice\PhpSpreadsheet\Settings::setCache($cache);
$reader = IOFactory::createReader($inputFileType);
$spreadsheet = $reader->load($inputFileName);
I have increased memory_limit and all the resources in the php.ini and the 503 error persists. How do I solve this error?