after install php71 with homebrew
brew install php71
i try too see it via
php -v
dyld: Library not loaded: /usr/local/opt/jpeg/lib/libjpeg.8.dylib
Referenced from: /usr/local/bin/php
Reason: image not found
[1] 55097 abort php -v
look like i need to install jpeg 8b not 9b how i can do this
Just faced a very similar problem.
Did this:
Uninstalled PHP 7.1
brew uninstall php71
Installed From source:
brew install --build-from-source php71
And now when I do php -v I get:
PHP 7.1.7 (cli) (built: Aug 7 2017 13:05:56) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
Solution was found on this post.
Edit: second command missed formula name