php compile from source configure

./configure \
–prefix=/usr/local \
–with-ldap=/usr \
–with-libdir=lib64 \
–with-kerberos=/usr \
–enable-cli \
–with-zlib-dir=/usr \
–enable-exif \
–enable-ftp \
–enable-mbstring \
–enable-mbregex \
–enable-sockets \
–enable-maintainer-zts \
–with-curl=/usr \
–with-config-file-path=/etc \
–sysconfdir=/private/etc \
–with-mysql-sock=/var/mysql/mysql.sock \
–with-mysql=mysqlnd \
–with-mysqli=mysqlnd \
–with-pdo-mysql=mysqlnd \
–with-xmlrpc \
–with-xsl=/usr \
–without-pear \
–with-libxml-dir=/usr \
–with-iconv-dir=/usr/local \
–with-gd \
–with-jpeg-dir=/opt/local \
–with-png-dir=/opt/local \
–with-freetype-dir=/opt/local \
–with-mcrypt=/opt/local \
–with-openssl \
–enable-debug –enable-maintainer-zts \
–enable-pthreads –enable-mbstring \

JS includes with AngularJS

Laravel 5 + AngularJS csrf token rename

It appears that laravel 5 no longer users the token name csrf_token, this has been abbreviated to _token.

Laravel 5 – Environment gotcha

Out of the box, laravel 5 is set to production environment.

If you use homestead for your development, you are going to have a lot of headache unless you set the environment to local.

The documentation is not clear on how to do this.

In the root folder, create a file within bootstrap/


This is the correct way to set your environment to local, and will allow you to process your migrations as you would expect them.

The VDI is still in use. Control Domain

Find the offending VDI

xe vdi-list

Find the VBD

xe vbd-list vdi-uuid=

unplug the vbd

xe vbd-unplug uuid=

destroy the VBD

xe vbd-destroy uuid=



chnage ipsec site-to-site peer address

VMWare install MLX drives

remove existing mlx drivers

esxcli software vib remove -n net-mlx4-en
esxcli software vib remove -n net-mlx4-core

install new ones.
esxcli software vib install -d /path/to/zip/file

set memory dom0

/opt/xensource/libexec/xen-cmdline –set-xen dom0_mem=4096M,max:4096M

Rename ZPOOL

# zpool export tank

Then, import using desired name:

# zpool import tank tank2

Import tank / lun’s

zpool import -f tank

sbdadm import-lu /dev/zvol/rdsk/[Volumename]/[sharename]

That will import your lun. Then run:

sbdadm list-lu

This will list your luns. The number you will need is the GUID so copy it and get ready to paste.
Run this command: