PHP code example of jaxwilko / wn-opcachepreload-plugin

1. Go to this page and download the library: Download jaxwilko/wn-opcachepreload-plugin 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/ */

    

jaxwilko / wn-opcachepreload-plugin example snippets

ini
[opcache]
opcache.enable=1
opcache.memory_consumption=256
opcache.max_accelerated_files=20000
opcache.validate_timestamps=0 
opcache.revalidate_freq=0
opcache.preload=/path/to/winter/plugins/jaxwilko/opcachepreload/preload.php
opcache.preload_user=apache