Error compiling mod_php 7.4.8

netsolid

Verified User
Joined
Feb 8, 2010
Messages
36
When i compile php_mod version 7.4.8 im getting the following error:
checking for embedded SAPI library support... configure: error:
+--------------------------------------------------------------------+
| *** ATTENTION *** |
| |
| You've configured multiple SAPIs to be build. You can build only |
| one SAPI module plus CGI, CLI and FPM binaries at the same time. |
+--------------------------------------------------------------------+


*** There was an error while trying to configure php. Check the configure file

How can i solve this?
 
Solved it, it was a custom configure.php74 where i had to edit this line:
./configure --with-apxs2 --enable-embed \

to
./configure --with-apxs2 \
 
Back
Top