Resolution
For example if you execute 'host' command from a PHP script (even if you already recompiled PHP and Apache) you get:
host: isc_socket_create: not enough free resources
socket.c:2117: REQUIRE(maxfd <= (int)1024) failed.
The reason of the error is that 'bind-utils' (and another software) are also affected by FD_SETSIZE problem and even if it is not directly related to Apache or PHP they should be recompiled too if some PHP scripts use them. See for more details the article 260.
host: isc_socket_create: not enough free resources
socket.c:2117: REQUIRE(maxfd <= (int)1024) failed.
The reason of the error is that 'bind-utils' (and another software) are also affected by FD_SETSIZE problem and even if it is not directly related to Apache or PHP they should be recompiled too if some PHP scripts use them. See for more details the article 260.