made fastcgi php.ini path configurable per linux distribution.
| | |
| | | $conf['apache']['vhost_conf_enabled_dir'] = '/etc/httpd/conf/sites-enabled'; |
| | | $conf['apache']['vhost_port'] = '8080'; |
| | | |
| | | //* Fastcgi |
| | | $conf['fastcgi']['fastcgi_phpini_path'] = '/etc/'; |
| | | |
| | | //* Postfix |
| | | $conf['postfix']['installed'] = false; // will be detected automatically during installation |
| | | $conf['postfix']['config_dir'] = '/etc/postfix'; |
| | |
| | | $conf['jailkit']['jk_chrootsh'] = 'jk_chrootsh.ini'; |
| | | $conf['jailkit']['jailkit_chroot_app_programs'] = '/usr/bin/groups /usr/bin/id /usr/bin/dircolors /bin/basename /usr/bin/dirname /usr/bin/nano'; |
| | | |
| | | |
| | | ?> |
| | |
| | | $conf['apache']['vhost_conf_enabled_dir'] = '/etc/apache2/sites-enabled'; |
| | | $conf['apache']['vhost_port'] = '8080'; |
| | | |
| | | //* Fastcgi |
| | | $conf['fastcgi']['fastcgi_phpini_path'] = '/etc/php5/cgi/'; |
| | | |
| | | //* Postfix |
| | | $conf['postfix']['installed'] = false; // will be detected automatically during installation |
| | | $conf['postfix']['config_dir'] = '/etc/postfix'; |
| | |
| | | $conf['apache']['vhost_conf_enabled_dir'] = '/etc/httpd/conf/sites-enabled'; |
| | | $conf['apache']['vhost_port'] = '8080'; |
| | | |
| | | //* Fastcgi |
| | | $conf['fastcgi']['fastcgi_phpini_path'] = '/etc/'; |
| | | |
| | | //* Postfix |
| | | $conf['postfix']['installed'] = false; // will be detected automatically during installation |
| | | $conf['postfix']['config_dir'] = '/etc/postfix'; |
| | |
| | | $conf['apache']['vhost_conf_enabled_dir'] = '/etc/apache2/sites-enabled'; |
| | | $conf['apache']['vhost_port'] = '8080'; |
| | | |
| | | //* Fastcgi |
| | | $conf['fastcgi']['fastcgi_phpini_path'] = '/etc/php5/cgi/'; |
| | | |
| | | //* Postfix |
| | | $conf['postfix']['installed'] = false; // will be detected automatically during installation |
| | | $conf['postfix']['config_dir'] = '/etc/postfix'; |
| | |
| | | |
| | | |
| | | // Dont just copy over the virtualhost template but add some custom settings |
| | | |
| | | $content = rf("tpl/apache_ispconfig.vhost.master"); |
| | | $content = str_replace('{vhost_port}', $conf['apache']['vhost_port'], $content); |
| | | |
| | |
| | | exec('ln -s /usr/local/ispconfig/interface/web /var/www/ispconfig'); |
| | | exec('chown -R ispconfig:ispconfig /var/www/php-fcgi-scripts/ispconfig'); |
| | | |
| | | replaceLine('/var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter','PHPRC=','PHPRC=/etc/',0,0); |
| | | |
| | | } |
| | | |
| | | //copy('tpl/apache_ispconfig.vhost.master', "$vhost_conf_dir/ispconfig.vhost"); |
| | |
| | | // TODO: Update further distribution specific parameters for server config here |
| | | $tpl_ini_array['web']['vhost_conf_dir'] = $conf['apache']['vhost_conf_dir']; |
| | | $tpl_ini_array['web']['vhost_conf_enabled_dir'] = $conf['apache']['vhost_conf_enabled_dir']; |
| | | $tpl_ini_array['web']['jailkit_chroot_app_programs'] = $conf['jailkit']['jailkit_chroot_app_programs']; |
| | | $tpl_ini_array['jailkit']['jailkit_chroot_app_programs'] = $conf['jailkit']['jailkit_chroot_app_programs']; |
| | | $tpl_ini_array['fastcgi']['fastcgi_phpini_path'] = $conf['fastcgi']['fastcgi_phpini_path']; |
| | | |
| | | |
| | | $server_ini_content = array_to_ini($tpl_ini_array); |