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

Pawnee and brew httpd #10

Open
CallumEddisford opened this issue May 8, 2018 · 0 comments
Open

Pawnee and brew httpd #10

CallumEddisford opened this issue May 8, 2018 · 0 comments

Comments

@CallumEddisford
Copy link

[Enhancement]
Just wondering whether we can customise the path to which .conf file Pawnee looks at and/or which apache install.

On my set up I use brew for everything and got rid of the built in apache then installed via brew: brew install httpd

I've tried a few things such as creating a symlink to the directory specified in the readme and got it almost working but i get halted with an apache error:
AH00534: httpd: Configuration error: More than one MPM loaded.

I know what you're thinking, don't use more than one MPM...
Well over to my httpd.conf..

#LoadModule mpm_event_module lib/httpd/modules/mod_mpm_event.so
LoadModule mpm_prefork_module lib/httpd/modules/mod_mpm_prefork.so
#LoadModule mpm_worker_module lib/httpd/modules/mod_mpm_worker.so

I can switch to another MPM and it works, but its unsupported by brew:

Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe.  Homebrew PHP does not support a thread-safe php binary. To use the PHP apache sapi please change your httpd config to use the prefork MPM
AH00013: Pre-configuration failed

I'm gonna try a few more things from source and see if I can fix it, unless anyone has any alternate ideas.

Thanks,

Callum

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

No branches or pull requests

1 participant