After trying out EasyApache 4 and its functionality, I have ran into the following issue:
When enabling the DSO php handler, it is working but fails to load any module due to all modules being compiled as non-thread-safe, see the startup-errors below:
this goes on and lists the same error for every php-module.
In addition:
- switching the PHP version which should be used with DSO does not work. I got it to work by manually changing the symlink of /etc/apache2/modules/libphp5.so and restarting apache.
- I was able to enable the DSO handler even when using MPM event, as far as i know this should not be possible due to incompatibility.
My questions are:
1. Is there any way to enable mod_php (dso) with all available modules?
2. Why is mod_security2 not compatible with mod_ruid2 or MPM ITK? Is there any way to get this to work? Or is it possible to use mod_php (running as the user) and mod_security2 in any other way?
Thanks in advance for anyone being able to help me here.
When enabling the DSO php handler, it is working but fails to load any module due to all modules being compiled as non-thread-safe, see the startup-errors below:
Code:
[27-Oct-2015 17:12:52 UTC] PHP Warning: PHP Startup: bcmath: Unable to initialize module
Module compiled with build ID=API20131226,NTS
PHP compiled with build ID=API20131226,TS
These options need to match
in Unknown on line 0
[27-Oct-2015 17:12:52 UTC] PHP Warning: PHP Startup: bz2: Unable to initialize module
Module compiled with build ID=API20131226,NTS
PHP compiled with build ID=API20131226,TS
These options need to match
in Unknown on line 0
In addition:
- switching the PHP version which should be used with DSO does not work. I got it to work by manually changing the symlink of /etc/apache2/modules/libphp5.so and restarting apache.
- I was able to enable the DSO handler even when using MPM event, as far as i know this should not be possible due to incompatibility.
My questions are:
1. Is there any way to enable mod_php (dso) with all available modules?
2. Why is mod_security2 not compatible with mod_ruid2 or MPM ITK? Is there any way to get this to work? Or is it possible to use mod_php (running as the user) and mod_security2 in any other way?
Thanks in advance for anyone being able to help me here.