-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiled static into https-2.4.46 and it broke PHP in many locations #43
Comments
I can't see how to select or I would add the working and non-working configuration. |
What sort of environment are you working with? Please provide the following information:
|
If you got it working, please let us know so that we can close this issue as resolved. |
Also I am using: uname -a Kernel is self compiled, and also gcc (GCC) 11.0.0 20200824 (experimental) This is my configuration file for Apache2 compile: --with-module=aaa:/usr/src/mod-auth-external/mod_authnz_external/mod_authnz_external.c
breaks printing the PHP code for nextcloud rather than executing it, but Wordpress still works. |
Please provide the information above so we can try to figure out what's going on. Also, please provide the following:
|
The Apache source itself is unmodified. but I am using apr 1.6.5 rather than apr 1.7 because 1.7 and openssl 1.1.1g has a symbol mismatch and will not load. 1.7 works okay with 1.1.1f but not 1.1.1g. Server Settings Server Version: Apache/2.4.46 (Unix) OpenSSL/1.1.1g Source for mod suphp came from here: https://github.com/lightsey/mod_suphp/ I've zip'd up a tar file of the conf attached. Why this won't accept plain tar or .xz is beyond me. -- link removed -- |
I noticed you have .htaccess directives turned on for nextcloud. Could you please attach those files? Alternately, feel free to send them directly to me. |
Could you e-mail me the location (which file(s)) those old keys are in? There shouldn't have been any in the actual conf, I thought I had externalized all of them but obviously missed something.
|
Sorry I haven't had a chance to get back to this. I will try to carve out some time soon to try building a similar setup to test, but I don't know when that will be. |
Thought it been a while so I tried compiling in the module again, broke the server in the same way, instead of php being interpreted, it just prints the code as if it were not php code. |
mod_suphp wants to be compiled static, but if I also compile in mod_authnz_external static, then mod suphp disappears from server-info, however, if I instead compile mod_authnz_external as a dynamic object and load it, then suphp remains and everything works. I wanted to compile everything statically to maximize performance but these two modules will not co-exist if mnaud_authnz_external is compiled static even though suphp is, it makes the latter disappear. |
I have an Apache server 2.4.46 which all modules are compiled in static. When I added this one it broke php, php would only execute in some places afterwards. In other locations it would print the PHP code instead of executing it. I was not able to discern a pattern and this involved NO change to the Apache configuration, ,just added this to the configuration file._
The text was updated successfully, but these errors were encountered: