PHP code example of vearutop / pinba-pure-php

1. Go to this page and download the library: Download vearutop/pinba-pure-php library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

vearutop / pinba-pure-php example snippets


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');
}