vearutop / pinba-pure-php
Pinba extension drop-in replacement
Installs: 4 788
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- php: >=5.3.0
Requires (Dev)
- phpunit/phpunit: ^4.8
README
Pinba extension in pure PHP
HHVM and PHP7 ready drop-in replacement
Installation
Add package to your application with composer require vearutop/pinba-pure-php
.
Since you can not ini_set('pinba.enabled', 1)
without extension you need to control it with pinba
class.
if (class_exists('pinba', false)) { pinba::ini_set_auto_flush(false); pinba::ini_set_enabled(1); pinba::ini_set_server('127.0.0.1:3300'); }