PHP Classes


Recommend this page to a friend!
  Classes of Edgar Asatryan  >  YII2 notymo  >  >  Download  
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: YII2 notymo
Send iOS and Android push notifications
Author: By
Last change:
Date: 5 years ago
Size: 659 bytes


Class file image Download
#!/bin/sh -e
# install mongodb

# MongoDB Server :

echo "MongoDB Server version:"
mongod --version

mongo notymo_test_db --eval 'db.createUser({user: "travis", pwd: "test", roles: ["readWrite", "dbAdmin"]});'

# PHP Extension :

if (php --version | grep -i HipHop > /dev/null); then
  echo "skip PHP extension installation on HHVM"
  pecl install -f mongodb
  echo "extension =" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  echo "MongoDB PHP Extension version:"
  php -i |grep mongodb -4 |grep -2 version

cat /etc/mongodb.conf
cat /sys/kernel/mm/transparent_hugepage/defrag
cat /sys/kernel/mm/transparent_hugepage/enabled
For more information send a message to info at phpclasses dot org.