diff --git a/bb-library/Server/Manager/Ispconfig3.php b/bb-library/Server/Manager/Ispconfig3.php index d5f3fdd..252f863 100644 --- a/bb-library/Server/Manager/Ispconfig3.php +++ b/bb-library/Server/Manager/Ispconfig3.php @@ -236,9 +236,18 @@ private function createSite(Server_Account &$a) $site_params['php_open_basedir'] = $server['php_open_basedir']; //PHP Configuration - $site_params['php'] = 'suphp'; //php available posible values + $site_params['php'] = 'php-fpm'; //php available posible values $site_params['ip_address'] = '*'; //important $site_params['active'] = 'y'; + $site_params['pm_process_idle_timeout'] ='30'; + $site_params['pm_max_requests'] ='30'; + $site_params['php_fpm_use_socket'] = 'y'; + $site_params['pm'] = 'ondemand'; + $site_params['pm_max_children'] ='10'; + $site_params['pm_max_requests'] ='30'; + $site_params['php_open_basedir'] = $server['php_open_basedir']; + $site_params['added_by'] = 'admin'; + $site_params['active'] = 'y'; //Creating a site $result = $this->_request('sites_web_domain_add', $site_params); @@ -625,4 +634,4 @@ private function _request($action, $params = array()) return $soap_result; } -} \ No newline at end of file +}