It's a bit difficult to describe the problem, but I'll try:
o the problem doesn't occur in 5.x or 7.x, only in 6.x
o the problem doesn't occur in 32-bit only in 64-bit
o the problem occurs after Apache has loaded (dlopen'd) and unloaded (dlcose'd) every modules (including libphp5.so), then again tries to load mod_access.so (which is the first one in the list), but fails with errno=8 (ENOEXEC)
o there is no problem without php
o the error message doesn't make much sense:
Code:
dso.c: dlopen(/usr/local/libexec64/apache2/libphp5.so,0x10002) returned 0 errno=8: Exec format error
Cannot load /usr/local/libexec64/apache /mod_access_compat.so into server:
rtld: 0712-001 Symbol access_compat_module was referenced from module /usr/local/libexec64/apache/mod_access_compat.so(),
but a runtime definition of the symbol was not found.
rtld: 0712-002 fatal error: exiting.
o httpd version 2.4.7, php version 5.4.6, Oracle client version 10.2 (oci8 support in PHP)