PHP code example of dreadnip / chop
1. Go to this page and download the library: Download dreadnip/chop 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/ */
dreadnip / chop example snippets
private const POSSIBLE_SOCKET_FILE_PATTERNS = [
'~/.sock/*.sock',
'/var/run/php*.sock',
'/var/run/php/*.sock',
'/var/run/php-fpm/*.sock',
];
js
php_80_fpm_sites.sock
**php_81_fpm_sites.sock**
php_82_fpm_sites.sock