Skip to content

Instantly share code, notes, and snippets.

View christophermancini's full-sized avatar

Christopher Mancini christophermancini

View GitHub Profile
@christophermancini
christophermancini / gist:977a87ffdb98c42ce95e817d59cba9c3
Last active February 9, 2017 21:22
PHP-Protobuf PHP7.1 OPCACHE
✔ ~/dev/code/php-protobuf [php7-merge|⚑ 1]
16:17 $ php -i | grep opcache && composer phpt && composer phpt
Configure Command => './configure' '--prefix=/usr/local/Cellar/php71/7.1.1_12' '--localstatedir=/usr/local/var' '--sysconfdir=/usr/local/etc/php/7.1' '--with-config-file-path=/usr/local/etc/php/7.1' '--with-config-file-scan-dir=/usr/local/etc/php/7.1/conf.d' '--mandir=/usr/local/Cellar/php71/7.1.1_12/share/man' '--enable-bcmath' '--enable-calendar' '--enable-dba' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-mbregex' '--enable-mbstring' '--enable-shmop' '--enable-soap' '--enable-sockets' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-wddx' '--enable-zip' '--with-freetype-dir=/usr/local/opt/freetype' '--with-gd' '--with-gettext=/usr/local/opt/gettext' '--with-iconv-dir=/usr' '--with-icu-dir=/usr/local/opt/icu4c' '--with-jpeg-dir=/usr/local/opt/jpeg' '--with-kerberos=/usr' '--with-mhash' '--with-ndbm=/usr' '--with-png-dir=/usr/local/opt/libpng' '--with-xmlrpc' '--w
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.basho.riak.client.api.commands.buckets.itest.ITestListBuckets
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.275 sec - in com.basho.riak.client.api.commands.buckets.itest.ITestListBuckets
Running com.basho.riak.client.api.commands.indexes.itest.ITestBigIntIndexQuery
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.261 sec - in com.basho.riak.client.api.commands.indexes.itest.ITestBigIntIndexQuery
Running com.basho.riak.client.api.commands.indexes.itest.ITestBinIndexQuery
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.602 sec - in com.basho.riak.client.api.commands.indexes.itest.ITestBinIndexQuery
Running com.basho.riak.client.api.commands.indexes.itest.ITestFullBucketRead
fatal error: concurrent map read and map write
goroutine 477 [running]:
runtime.throw(0x91eda0, 0x21)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/panic.go:547 +0x90 fp=0xc857223200 sp=0xc8572231e8
runtime.mapaccess1_faststr(0x66b380, 0xc82def27b0, 0xc860c23aca, 0x7, 0xc862fb1790)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/hashmap_fast.go:202 +0x5b fp=0xc857223260 sp=0xc857223200
text/template.(*state).walkTemplate(0xc8572236f8, 0x82e2c0, 0xc84c10d560, 0x16, 0xc83e746b00)
/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:358 +0xe9 fp=0xc857223370 sp=0xc857223260
text/template.(*state).walk(0xc8572236f8, 0x82e2c0, 0xc84c10d560, 0x16, 0xf748e8, 0xc83e746b00)
[vagrant@localhost riak-ruby-client]$ bundle exec rake
/usr/bin/ruby -I/home/vagrant/.gem/ruby/gems/rspec-core-3.1.7/lib:/home/vagrant/.gem/ruby/gems/rspec-support-3.1.2/lib /home/vagrant/.gem/ruby/gems/rspec-core-3.1.7/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb --profile
Run options:
include {:focus=>true}
exclude {:yes_security=>true}
All examples were filtered out; ignoring {:focus=>true}
...........FFFFF............................................................................................FFF..............................................................FF................................................................FFFFFFFFFFFFFFFF.........................F.FFFFF.........................................................................................................................................................................................................................FFF....FFF....................................................................FFFF....FFFFFFFFFFFFF..........
[vagrant@localhost riak-ruby-client]$ bundle exec rake
/usr/local/rvm/rubies/ruby-2.1.5/bin/ruby -I/usr/local/rvm/gems/ruby-2.1.5/gems/rspec-core-3.1.7/lib:/usr/local/rvm/gems/ruby-2.1.5/gems/rspec-support-3.1.2/lib /usr/local/rvm/gems/ruby-2.1.5/gems/rspec-core-3.1.7/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb --profile
/usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych.rb:464:in `initialize': No such file or directory @ rb_sysopen - /var/www/riak-ruby-client/spec/support/test_client.yml (Errno::ENOENT)
from /usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych.rb:464:in `open'
from /usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych.rb:464:in `load_file'
from /var/www/riak-ruby-client/spec/support/test_client.rb:24:in `test_client_configuration'
from /var/www/riak-ruby-client/spec/spec_helper.rb:34:in `block in <top (required)>'
from /usr/local/rvm/gems/ruby-2.1.5/gems/rspec-core-3.1.7/lib/rspec/core.rb:81:in `configure'
from /var/www/riak-ruby-
server {
listen 80;
server_name whatever.com www.whatever.com;
root /var/www/whatever;
location /admin {
if ( $scheme !~ https ) {
return 301 https://www.whatever.com$request_uri;
}
}
{"id":"249","level":"0","description":"Deleting stale template caches","status":"pending","progress":0}<h1>PHP Error [2]</h1>
<p>session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/moda/craft/storage/runtime/sessions/) (/var/www/moda/craft/app/services/HttpRequestService.php:852)</p>
<pre>#0 /var/www/moda/craft/app/framework/base/CApplication.php(816): Craft\ErrorHandler->handle()
#1 unknown(0): Craft\WebApp->handleError()
#2 /var/www/moda/craft/app/services/HttpRequestService.php(852): session_write_close()
#3 /var/www/moda/craft/app/controllers/TasksController.php(37): Craft\HttpRequestService->close()
#4 /var/www/moda/craft/app/framework/web/actions/CInlineAction.php(49): Craft\TasksController->actionRunPendingTasks()
#5 /var/www/moda/craft/app/framework/web/CController.php(308): CInlineAction->runWithParams()
#6 /var/www/moda/craft/app/framework/web/CController.php(286): Craft\TasksController->runAction()
#7 /var/www