File tree Expand file tree Collapse file tree 9 files changed +18
-0
lines changed
Expand file tree Collapse file tree 9 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 8181$ conf ['apache ' ]['vhost_conf_dir ' ] = '/etc/httpd/conf/sites-available ' ;
8282$ conf ['apache ' ]['vhost_conf_enabled_dir ' ] = '/etc/httpd/conf/sites-enabled ' ;
8383$ conf ['apache ' ]['vhost_port ' ] = '8080 ' ;
84+ $ conf ['apache ' ]['php_ini_path_apache ' ] = '/etc/php5/apache2/php.ini ' ;
85+ $ conf ['apache ' ]['php_ini_path_cgi ' ] = '/etc/php5/cgi/php.ini ' ;
8486
8587//* Website base settings
8688$ conf ['web ' ]['website_basedir ' ] = '/var/www ' ;
Original file line number Diff line number Diff line change 8181$ conf ['apache ' ]['vhost_conf_dir ' ] = '/etc/httpd/conf/sites-available ' ;
8282$ conf ['apache ' ]['vhost_conf_enabled_dir ' ] = '/etc/httpd/conf/sites-enabled ' ;
8383$ conf ['apache ' ]['vhost_port ' ] = '8080 ' ;
84+ $ conf ['apache ' ]['php_ini_path_apache ' ] = '/etc/php5/apache2/php.ini ' ;
85+ $ conf ['apache ' ]['php_ini_path_cgi ' ] = '/etc/php5/cgi/php.ini ' ;
8486
8587//* Website base settings
8688$ conf ['web ' ]['website_basedir ' ] = '/var/www ' ;
Original file line number Diff line number Diff line change 8181$ conf ['apache ' ]['vhost_conf_dir ' ] = '/etc/apache2/sites-available ' ;
8282$ conf ['apache ' ]['vhost_conf_enabled_dir ' ] = '/etc/apache2/sites-enabled ' ;
8383$ conf ['apache ' ]['vhost_port ' ] = '8080 ' ;
84+ $ conf ['apache ' ]['php_ini_path_apache ' ] = '/etc/php5/apache2/php.ini ' ;
85+ $ conf ['apache ' ]['php_ini_path_cgi ' ] = '/etc/php5/cgi/php.ini ' ;
8486
8587//* Website base settings
8688$ conf ['web ' ]['website_basedir ' ] = '/var/www ' ;
Original file line number Diff line number Diff line change 8181$ conf ['apache ' ]['vhost_conf_dir ' ] = '/etc/apache2/sites-available ' ;
8282$ conf ['apache ' ]['vhost_conf_enabled_dir ' ] = '/etc/apache2/sites-enabled ' ;
8383$ conf ['apache ' ]['vhost_port ' ] = '8080 ' ;
84+ $ conf ['apache ' ]['php_ini_path_apache ' ] = '/etc/php5/apache2/php.ini ' ;
85+ $ conf ['apache ' ]['php_ini_path_cgi ' ] = '/etc/php5/cgi/php.ini ' ;
8486
8587//* Website base settings
8688$ conf ['web ' ]['website_basedir ' ] = '/var/www ' ;
Original file line number Diff line number Diff line change 8181$ conf ['apache ' ]['vhost_conf_dir ' ] = '/etc/httpd/conf/sites-available ' ;
8282$ conf ['apache ' ]['vhost_conf_enabled_dir ' ] = '/etc/httpd/conf/sites-enabled ' ;
8383$ conf ['apache ' ]['vhost_port ' ] = '8080 ' ;
84+ $ conf ['apache ' ]['php_ini_path_apache ' ] = '/etc/php5/apache2/php.ini ' ;
85+ $ conf ['apache ' ]['php_ini_path_cgi ' ] = '/etc/php5/cgi/php.ini ' ;
8486
8587//* Website base settings
8688$ conf ['web ' ]['website_basedir ' ] = '/var/www ' ;
Original file line number Diff line number Diff line change 8888$ conf ['apache ' ]['vhost_conf_enabled_dir ' ] = $ conf ['apache ' ]['vhost_conf_dir ' ];
8989$ conf ['apache ' ]['vhost_default ' ] = '00_default_vhost.conf ' ;
9090$ conf ['apache ' ]['vhost_port ' ] = '8080 ' ;
91+ $ conf ['apache ' ]['php_ini_path_apache ' ] = '/etc/php5/apache2/php.ini ' ;
92+ $ conf ['apache ' ]['php_ini_path_cgi ' ] = '/etc/php5/cgi/php.ini ' ;
9193
9294//* Website base settings
9395$ conf ['web ' ]['website_basedir ' ] = '/var/www ' ;
Original file line number Diff line number Diff line change 8181$ conf ['apache ' ]['vhost_conf_dir ' ] = '/etc/apache2/sites-available ' ;
8282$ conf ['apache ' ]['vhost_conf_enabled_dir ' ] = '/etc/apache2/sites-enabled ' ;
8383$ conf ['apache ' ]['vhost_port ' ] = '8080 ' ;
84+ $ conf ['apache ' ]['php_ini_path_apache ' ] = '/etc/php5/apache2/php.ini ' ;
85+ $ conf ['apache ' ]['php_ini_path_cgi ' ] = '/etc/php5/apache2/php.ini ' ;
8486
8587//* Website base settings
8688$ conf ['web ' ]['website_basedir ' ] = '/srv/www ' ;
Original file line number Diff line number Diff line change 8181$ conf ['apache ' ]['vhost_conf_dir ' ] = '/etc/apache2/sites-available ' ;
8282$ conf ['apache ' ]['vhost_conf_enabled_dir ' ] = '/etc/apache2/sites-enabled ' ;
8383$ conf ['apache ' ]['vhost_port ' ] = '8080 ' ;
84+ $ conf ['apache ' ]['php_ini_path_apache ' ] = '/etc/php5/apache2/php.ini ' ;
85+ $ conf ['apache ' ]['php_ini_path_cgi ' ] = '/etc/php5/apache2/php.ini ' ;
8486
8587//* Website base settings
8688$ conf ['web ' ]['website_basedir ' ] = '/srv/www ' ;
Original file line number Diff line number Diff line change @@ -211,6 +211,8 @@ public function add_database_server_record() {
211211 $ tpl_ini_array ['web ' ]['security_level ' ] = 20 ;
212212 $ tpl_ini_array ['web ' ]['user ' ] = $ conf ['apache ' ]['user ' ];
213213 $ tpl_ini_array ['web ' ]['group ' ] = $ conf ['apache ' ]['group ' ];
214+ $ tpl_ini_array ['web ' ]['php_ini_path_apache ' ] = $ conf ['apache ' ]['php_ini_path_apache ' ];
215+ $ tpl_ini_array ['web ' ]['php_ini_path_cgi ' ] = $ conf ['apache ' ]['php_ini_path_cgi ' ];
214216 $ tpl_ini_array ['mail ' ]['pop3_imap_daemon ' ] = ($ conf ['dovecot ' ]['installed ' ] == true )?'dovecot ' :'courier ' ;
215217 $ tpl_ini_array ['mail ' ]['mail_filter_syntax ' ] = ($ conf ['dovecot ' ]['installed ' ] == true )?'sieve ' :'maildrop ' ;
216218 $ tpl_ini_array ['dns ' ]['bind_user ' ] = $ conf ['bind ' ]['bind_user ' ];
You can’t perform that action at this time.
0 commit comments