PHP compilation failure

that's how I called "Full Logs Output".
Do you have any customize relate to openssl or php compilation ?

customize php compilation should be in "/usr/local/directadmin/custombuild/custom/"
I have /usr/local/directadmin/custombuild/custom/modsecurity/conf which is a cpguard modsecurity configuration. I tried removing it and compiling without anything in custom but the same error happens
 
@germanopires
Your case might cause by customize software (Openssl) someware else or End of lifes OS.

I think, you should create support ticket.
 
make: *** [Makefile:2303: ext/zip/zip_stream.lo] Error 1
install_php: failed to compile '/usr/local/directadmin/custombuild/cache/php-8.3.21.tar.gz' inside '/usr/local/directadmin/custombuild/tmp/tmp.KFXe26j5mR.php-8.3.21.tar.gz'

Help!!!
 
what do you see if you run:

Code:
da build list_removals
?
Captura de pantalla 2025-07-15 110318.png
 
While building ModSecurity and PHP on AlmaLinux 9, I ran into the same issue. Here's the solution I used to get a fresh version of libkeyutils and resolve the problem:

Code:
git clone https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git
cd keyutils
make
make install

Once compilation is complete, you can proceed with running custombuild to test ModSecurity and PHP integration.

Bash:
da build modsecurity
da build php

However, if you run "da build all" again, the issue is likely to resurface, presumably because the DirectAdmin build process reinstalls its bundled version of libkeyutils, overwriting your custom build.
 
Last edited:
Back
Top