PHP code example of sergix44 / hestiacp-companion
1. Go to this page and download the library: Download sergix44/hestiacp-companion 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/ */
sergix44 / hestiacp-companion example snippets
sh
php ./hcpc
sh
sudo php ./hcpc reverse-proxy arcane 3552
sh
sudo php ./hcpc php:optimize
sh
sudo php ./hcpc php:optimize -n --opcache-memory-consumption=256 --fpm-functions=no --apply