小皮面板启动NGINX报错
错误信息
dyld: Library not loaded: @executable_path/libpcre.0.dylib
Referenced from: /Applications/phpstudy/Extensions/Nginx1.16.1//sbin/nginx
Reason: Incompatible library version: nginx requires version 4.0.0 or later, but libpcre.0.dylib provides version 1.0.0
brew update后启动php和nginx均会报这个错
百度有人说用brew switch openssl版本的,但是我执行就会提示 unkonwn command
再然后就按人家说的把brew卸了重装一遍,也把nginx openssl都重装了一遍,现在brew安装的nginx、和mac自带的php都可以正常启动了,但是要想正常使用本地环境还需要装一堆东西,就想用集成环境,但是小皮面板还在报这个错,我醉了,试了 brew unlink pecl &brew link pecl 还是不行。
有没有大佬支个招呀
推荐文章: