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

When I installed it and it didn't work #86

Open
ChinaPhpZyp opened this issue Jan 24, 2019 · 1 comment
Open

When I installed it and it didn't work #86

ChinaPhpZyp opened this issue Jan 24, 2019 · 1 comment

Comments

@ChinaPhpZyp
Copy link

When i use this command
brew options nginx-full | grep echo
I can see
--with-echo-module
But When i use this command to reload
nginx -s reload
Terminal prompts me
nginx: [emerg] unknown directive 'echo'
@agentzh

@agentzh
Copy link
Member

agentzh commented Feb 3, 2019

@ChinaPhpZyp Are you using the brew documented here?

https://openresty.org/en/download.html

Seems like you are using the wrong nginx executable. You can try using absolute file path to invoke nginx. Please keep in mind, different execution environment may see different PATH environment variable values (like sudo or init scripts).

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

2 participants