Subject: | Problem with MaxClients with httpd 2.4.12 on Windows |
According to http://httpd.apache.org/docs/2.4/upgrading.html#config MaxClients has been renamed MaxRequestWorkers in httpd >= 2.4, but the old name should still be supported too.
However, trying to install Apache::Singleton on Windows (using httpd 2.4.12) I'm getting:
waiting 60 seconds for server to start: .AH00526: Syntax error on line 25 of C:/Users/shay/.cpan/build/Apache-Singleton-0.16-RTm49M/t/conf/extra.conf:
Invalid command 'MaxClients', perhaps misspelled or defined by a module not included in the server configuration
I tried changing MaxClients to MaxRequestWorkers, but that just gives:
waiting 60 seconds for server to start: .AH00526: Syntax error on line 25 of C:/Users/shay/.cpan/build/Apache-Singleton-0.16-OgM4yJ/t/conf/extra.conf:
Invalid command 'MaxRequestWorkers', perhaps misspelled or defined by a module not included in the server configuration
If I comment-out the MaxClients line entirely then all is well for me.
This is using version 0.16. I'm pretty sure I didn't have this problem using the same version with httpd 2.2, but I will try to find time to double-check that. (Maybe I'm mistaken and it just isn't supported on Windows? http://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestworkers makes no mention of mpm_winnt, and neither does http://httpd.apache.org/docs/2.2/mod/mpm_common.html#maxclients)