PHP Warning: PHP Startup: mcrypt: Unable to initialize module Module compiled with build ID=API20151012,NTS PHP compiled with build ID=API20151012,NTS,debug These options need to match in Unknown on line 0
PHP Deprecated: PHP Startup: memcached.sess_lock_wait and memcached.sess_lock_max_wait are deprecated. Please update your configuration to use memcached.sess_lock_wait_min, memcached.sess_lock_wait_max and memcached.sess_lock_retries in Unknown on line 0Deprecated: PHP Startup: memcached.sess_lock_wait and memcached.sess_lock_max_wait are deprecated. Please update your configuration to use memcached.sess_lock_wait_min, memcached.sess_lock_wait_max and memcached.sess_lock_retries in Unknown on line 0PHP Deprecated: PHP Startup: memcached.sess_lock_wait and memcached.sess_lock_max_wait are deprecated. Please update your configuration to use memcached.sess_lock_wait_min, memcached.sess_lock_wait_max and memcached.sess_lock_retries in Unknown on line 0Deprecated: PHP Startup: memcached.sess_lock_wait and memcached.sess_lock_max_wait are deprecated. Please update your configuration to use memcached.sess_lock_wait_min, memcached.sess_lock_wait_max and memcached.sess_lock_retries in Unknown on line 0PHP 7.0.2 (cli) (built: Jan 7 2016 10:40:26) ( NTS )Copyright (c) 1997-2015 The PHP GroupZend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies with Xdebug v2.4.0RC3, Copyright (c) 2002-2015, by Derick Rethans
*32 connect() to unix:/dev/shm/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: kkd.cn, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/dev/shm/php-cgi.sock:"
PHP Warning: Cannot load module 'memcached' because required module 'igbinary' is not loaded in Unknown on line 0
Warning: Cannot load module 'memcached' because required module 'igbinary' is not loaded in Unknown on line 0 PHP Warning: Cannot load module 'redis' because required module 'igbinary' is not loaded in Unknown on line 0
Warning: Cannot load module 'redis' because required module 'igbinary' is not loaded in Unknown on line 0
This formula is keg-only, which means it was not symlinked into /usr/local, because macOS provides libicucore.dylib (but nothing else).
If you need to have this software first in your PATH run: echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.bash_profile echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile
For compilers to find this software you may need to set: LDFLAGS: -L/usr/local/opt/icu4c/lib CPPFLAGS: -I/usr/local/opt/icu4c/include For pkg-config to find this software you may need to set: PKG_CONFIG_PATH: /usr/local/opt/icu4c/lib/pkgconfig
# 添加以下东西 alias nginx.start='launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.nginx.plist' alias nginx.stop='launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.nginx.plist' alias nginx.restart='nginx.stop && nginx.start'
alias php-fpm.start='launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php70.plist' alias php-fpm.stop='launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.php70.plist' alias php-fpm.restart='php-fpm.stop && php-fpm.start'
alias memcached.start='launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.memcached.plist' alias memcached.stop='launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.memcached.plist' alias memcached.restart='memcached.stop && memcached.start'
alias redis.start='launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.redis.plist' alias redis.stop='launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.redis.plist' alias redis.restart='redis.stop && redis.start'
alias mysql.start="launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist" alias mysql.stop="launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist" alias mysql.restart='mysql.stop && mysql.start'
alias web.start='nginx.start && php-fpm.start && memcached.start && redis.start && mysql.start' alias web.stop='nginx.stop && php-fpm.stop && memcached.stop && redis.stop && mysql.stop'