how to install for PHP7 on OSX ElCapitan

I am running OSX 10.11.3 PHP 7.0.2 (cli) (built: Jan 8 2016 10:14:20) ( NTS ) after executing sudo pecl install mongodb I do have an error:

Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php56/5.6.16/lib/php/extensions/no-debug-non-zts-20131226/' - dlopen(/usr/local/Cellar/php56/5.6.16/lib/php/extensions/no-debug-non-zts-20131226/, 9): Symbol not found: _zval_used_for_init Referenced from: /usr/local/Cellar/php56/5.6.16/lib/php/extensions/no-debug-non-zts-20131226/ Expected in: flat namespace in /usr/local/Cellar/php56/5.6.16/lib/php/extensions/no-debug-non-zts-20131226/ in Unknown on line 0

How to fix this problem?


you could have a try to config php.ini with extension =, if not, maybe due to version match question.

Need Your Help

How to fill Canvas with rectangles without edge aliasing artifacts in WinRT

wpf windows-runtime wpf-controls winrt-xaml

I'm writing simple puzzle game, where puzzle is a board made of squares. Number of squares per X and per Y is fixed. I want puzzle to uniformly scale to arbitrary size to adapt to user's screen, fi...

Trying to populate NSMutableArray but get implicit conversion of int to id is disallowed with arc

ios objective-c nsmutablearray

I am simply trying to add a series of numbers to an NSMutableArray but I am getting the error: