503 error on include large file


New Member
Hello. I need to include big (20Mb) PHP-file with two-dimensional array (about 80k rows) into my PHP-script. This causes 503 server error. I tried to enlarge PHP memory limit to 1024Mb, but it doesn't help. It's a specific problem, because on Apache server file is included without any error.

My engine.php:
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);

include('data.php'); // <- it's about 20Mb
And my error log:
2023-09-01 10:40:44.508249 [NOTICE] [10704] [] oops! 503 Service Unavailable
2023-09-01 10:40:44.508308 [INFO] [10704] [] Content len: 0, request line: 'GET / HTTP/1.1'
2023-09-01 10:40:44.508312 [INFO] [10704] [] Redirect: #1, URL: /engine.php
There is no error if I split data.php into 2 smaller files, but it's no a solution, because it's generated by another script.