Issue: https://github.com/php/php-src/issues/13038
Author: MrDkVV
### Description
The following steps used to reproduce:
```
1. Clean server install of RHEL9
2. yum groupinstall "Development Tools"
3. yum install libxml2-devel sqlite-devel
4. ./buildconf
5. ./configure
6. make -j4 <-- failure here
```
[step6.txt](https://github.com/php/php-src/files/13780342/step6.txt)
Resulted in this output:
```
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make: *** [Makefile:849: ext/fileinfo/libmagic/apprentice.lo] Error 1
make: *** Waiting for unfinished jobs....
```
But I expected this output instead:
```
Complete Success ...
```
### PHP Version
php 8.3.1 (downloaded as tar.gz)
### Operating System
RHEL 9.3