Open ChinaPhpZyp opened 5 years ago
@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).
When i use this command
brew options nginx-full | grep echo
I can see--with-echo-module
But When i use this command to reloadnginx -s reload
Terminal prompts menginx: [emerg] unknown directive 'echo'
@agentzh