sergeycherepanov / devbrew Goto Github PK
View Code? Open in Web Editor NEWmacOS / Linux / Windows Subsystem for Linux - Native Development Environment (NGINX/PHP/MySQL/NodeJS)
macOS / Linux / Windows Subsystem for Linux - Native Development Environment (NGINX/PHP/MySQL/NodeJS)
Must be installed globally
Need to reinstall curl with openssl
brew install --with-openssl curl
brew install --with-homebrew-curl php55
brew install --with-homebrew-curl php56
brew install --with-homebrew-curl php70
vagrant-vbguest
vagrant-hostmanager
git config --global credential.helper 'cache --timeout=3600'
global .gitignore
.idea
.php56
.php70
.php71
.php72
Warning: djocker/php/php56-intl 5.6.40_15 is already installed and up-to-date
To reinstall 5.6.40_15, run `brew reinstall php56-intl`
Warning: djocker/php/php56-mcrypt 5.6.40_7 is already installed and up-to-date
To reinstall 5.6.40_7, run `brew reinstall php56-mcrypt`
Warning: djocker/php/php56-xdebug 2.5.5 is already installed and up-to-date
To reinstall 2.5.5, run `brew reinstall php56-xdebug`
Warning: djocker/php/php56-redis 3.1.4 is already installed and up-to-date
To reinstall 3.1.4, run `brew reinstall php56-redis`
Warning: djocker/php/php56-tidy 5.6.40_6 is already installed and up-to-date
To reinstall 5.6.40_6, run `brew reinstall php56-tidy`
Warning: djocker/php/php56-opcache 5.6.40_7 is already installed and up-to-date
To reinstall 5.6.40_7, run `brew reinstall php56-opcache`
Warning: djocker/php/php56-pdo-pgsql 5.6.40_7 is already installed and up-to-date
To reinstall 5.6.40_7, run `brew reinstall php56-pdo-pgsql`
Warning: djocker/php/php56-xhprof 254eb24 is already installed and up-to-date
To reinstall 254eb24, run `brew reinstall php56-xhprof`
Warning: djocker/php/php56-mongo 1.6.14 is already installed and up-to-date
To reinstall 1.6.14, run `brew reinstall php56-mongo`
==> Installing php56-mongodb from djocker/php
==> Downloading https://pecl.php.net/get/mongodb-1.4.0.tgz
Already downloaded: /home/turkulets/.cache/Homebrew/downloads/7d696bc9a34222846efd1338622654a4ca258748b3687e3f35a6452572dca99a--mongodb-1.4.0.tgz
==> /home/linuxbrew/.linuxbrew/opt/php56/bin/phpize
==> ./configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/php56-mongodb/1.4.0 --with-php-config=/home/linuxbrew/.linuxbrew/opt/php56/bin/php-config --with-mongodb-ssl=openssl
Last 15 lines from /home/turkulets/.cache/Homebrew/Logs/php56-mongodb/02.configure:
checking if nawk is broken... no
checking whether to enable MongoDB support... yes, shared
checking Check for supported PHP versions... 5.6.40
checking whether to enable developer build flags... no
checking whether to enable code coverage... no
checking whether to use system libbson... no
checking whether to use system libmongoc... no
checking configuring libmongoc... ...
checking whether to enable crypto and TLS... openssl
checking deprecated option for OpenSSL library path... auto
checking for pkg-config... no
checking for PHP_MONGODB_SSL... no
checking for EVP_DigestInit_ex in -lcrypto... yes
checking for SSL_library_init in -lssl... no
configure: error: OpenSSL libraries and development headers could not be found
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/djocker/homebrew-php/issues
Faced some issues with php installation. I've also tried to unlink already installed php and install with brew reinstall php70-mcrypt --build-from-source
but have no success to avoid this issue.
Below you can find the rest of terminal output and full log frome terminal is attached. Could you please suggest what to do in that case?
[DEPRECATION WARNING]: Invoking "homebrew" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply multiple items and specifying
name: "{{ item }}", please use
name: '{{ php70_modules }}'and remove the loop. This feature will be removed in version 2.11. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. failed: [localhost] (item=[u'php70-intl', u'php70-mcrypt', u'php70-xdebug', u'php70-redis', u'php70-tidy', u'php70-opcache', u'php70-pdo-pgsql', u'php70-mongodb', u'php70-apcu', u'php70-xhprof', u'php70-memprof']) => {"ansible_loop_var": "item", "changed": false, "item": ["php70-intl", "php70-mcrypt", "php70-xdebug", "php70-redis", "php70-tidy", "php70-opcache", "php70-pdo-pgsql", "php70-mongodb", "php70-apcu", "php70-xhprof", "php70-memprof"], "msg": "Updating Homebrew..."}
Here you can find a full log.
[console.log](https://github.com/sergeycherepanov/devbrew/files/3458845/console.log)
Enable elasticsearch + logstash + kibana + curator for php, nginx, mysql logs
Need to enable mailhog
Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php70-intl/intl.so' - dlopen(/usr/local/opt/php70-intl/intl.so, 9): Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.57.dylib
Referenced from: /usr/local/opt/php70-intl/intl.so
Reason: image not found in Unknown on line 0
solution: brew install --build-from-source php70-intl
PHP_PATH="/usr/local/bin/php";
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.