| | |
| | | * TODO: Create form for fastcgi configs per site. |
| | | */ |
| | | |
| | | |
| | | if ($data['new']['php'] == 'fast-cgi') { |
| | | |
| | | $fastcgi_starter_path = str_replace('[system_user]',$data['new']['system_user'],$fastcgi_config['fastcgi_starter_path']); |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * PHP-FPM |
| | | */ |
| | |
| | | * first we create the script directory if not already created, then copy over the starter script. |
| | | * TODO: we have to fetch the data from the server-settings. |
| | | */ |
| | | |
| | | if ($data['new']['php'] == 'cgi') { |
| | | //$cgi_config = $app->getconf->get_server_config($conf['server_id'], 'cgi'); |
| | | |