Skip to content
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

Apache 2.4 support #3

Open
famzah opened this issue Apr 21, 2021 · 3 comments
Open

Apache 2.4 support #3

famzah opened this issue Apr 21, 2021 · 3 comments
Assignees
Labels

Comments

@famzah
Copy link

famzah commented Apr 21, 2021

Hello,

I've tried this with the latest Apache 2.4.46 but unfortunately it always outputs the following:
OK: 0 workers in use | RunningWorkers=0;0;0;;

Apache source code has the following comment (https://github.com/apache/httpd/blob/trunk/include/scoreboard.h)

/* Scoreboard is now in 'local' memory, since it isn't updated once created,
 * even in forked architectures.  Child created-processes (non-fork) will
 * set up these indices into the (possibly relocated) shmem records.
 */

Has this behavior been changed after you released your code? Or am I missing something why I can't get it working on my Apache installation?

Thank you.

@bodgit
Copy link
Owner

bodgit commented Apr 22, 2021

That comment appeared 20 years ago according to the commit history so I don't think that's the issue.

Do you have mod_status loaded/enabled? In my config I just have LoadModule status_module modules/mod_status.so, ExtendedStatus On, & ScoreboardFile /var/run/httpd/httpd.scoreboard directives in my config. This is on the RHEL-provided 2.4.6 version.

@bodgit bodgit self-assigned this Apr 22, 2021
@famzah
Copy link
Author

famzah commented Apr 26, 2021

I have it all enabled but it doesn't work with the latest Apache 2.4.46 built from source on Debian.

FTR, I can confirm that it works on CentOS 7.6 with their Apache 2.4.6 package. I just tried it on a VPS.

If you have time, you can try to compile the latest Apache from source code and see if it works for you.

@marksteele
Copy link

Same. Does not work in the official docker image for PHP (based on debian)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants