$cat test.c X #include sys / resource.h X $gcc -E test.c / dev / null
Your system is broken. You need to fix your /usr/include files by installing a glibc-devel package that matches your glibc. This has absolutely nothing to do with PHP. To prove this to yourself, try this simple test: