This article from the PHP ecshop secondary development blog, please be sure to keep this from http://phpecshop.blog.51cto.com/6296699/1883448
According to the tutorial “New Installation of Mac OS Sierra (10.12) and using HomeBrew to install ZSH + MNMP (Mac + Nginx + Mysql + Php) Development environment”, there was an error in using BREW to install PHP70 on the Mac.
brew install php70 --with-debug --with-gmp --with-homebrew-curl --with-homebrew-libressl --with-homebrew-libxml2 --with-homebrew-libxslt --with-imap --with-libmysql --with-mysql
Error message:
configure: error: Cannot find libz If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/josegonzalez/homebrew-php/issues /usr/local/Homebrew/Library/Homebrew/utils/github.rb:226:in `raise_api_error': Validation Failed (GitHub::Error) from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:184:in `open' from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:233:in `issues_matching' from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:266:in `issues_for_formula' from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:325:in `fetch_issues' from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:321:in `issues' from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:383:in `dump' from /usr/local/Homebrew/Library/Homebrew/brew.rb:133:in `rescue in <main>' from /usr/local/Homebrew/Library/Homebrew/brew.rb:31:in `<main>'
Solutions:
$ xcode-select --install $ brew install php70 --with-debug --with-gmp --with-homebrew-curl --with-homebrew-libressl --with-homebrew-libxml2 --with-homebrew-libxslt --with-imap --with-libmysql --with-mysql Fixed
Reference link:
http://stackoverflow.com/questions/39442552/5-boxen-errors-when-running-boxen-our-boxen
Read More:
- Mac installs the php Swoole extension and appears Enable openssl support, require openssl library or fatal error:’openssl/ssl.h’ file not found
- Error during session start; please check your PHP and/or webserver log file and configure your PHP
- Mac PHP Fatal error: Class ‘Memcache’ not found
- [Solved] PHP installation Phalcon expansion error
- [Solved] PHP Error: Warning: file_get_contents(): Failed to enable crypto
- [Solved] PHP getimagesize(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL
- PHP: The Difference between \Throwable, \Error and \Exception
- How to Solve PHP Error: no package’oniguruma’ found
- [Solved] PostgreSQL configure: error: readline library not found
- PHP error in Windows: class’ mysqli ‘not found
- [Solved] PHP -v Error: error while loading shared libraries: libonig.so.5:cannot open share directory
- PHP: How to parse MHT file into HTML
- PHP curl error: SSL certificate problem: unable to get local issuer certificate settlement program
- PHP php-config is not installed error in ubuntu 16 [How to Solve]
- nginx.conf php-fpm.conf and php.ini Error among the three_ Differences and relations between log instructions
- [PHP] Solve PHP Call to undefined function ldap_connect()
- laravel The Process class relies on proc_open, which is not available on your PHP installation.
- Mac: Where is php.ini Location
- How to Hide index.php
- composer Error: The requested PHP extension ext-bcmath * is missing from your system. Install or enable