Skip to content

Commit f8d8a4e

Browse files
author
jmontoya
committed
Adding <IfModule mod_suphp.c> condition see FS#1278
1 parent a5f7c0a commit f8d8a4e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/conf/vhost.conf.master

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,15 @@
126126
<tmpl_if name='php' op='==' value='suphp'>
127127
# suphp enabled
128128
<Directory {tmpl_var name='web_document_root'}>
129+
<IfModule mod_suphp.c>
129130
suPHP_Engine on
130131
# suPHP_UserGroup <tmpl_var name='system_user'> <tmpl_var name='system_group'>
131132
<tmpl_if name='has_custom_php_ini'>
132133
suPHP_ConfigPath <tmpl_var name='custom_php_ini_dir'>
133134
</tmpl_if>
134135
AddHandler x-httpd-suphp .php .php3 .php4 .php5
135136
suPHP_AddHandler x-httpd-suphp
137+
</IfModule>
136138
</Directory>
137139
</tmpl_if>
138140
<tmpl_if name='php' op='==' value='cgi'>

0 commit comments

Comments
 (0)