summaryrefslogtreecommitdiffstats
path: root/glpi-httpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'glpi-httpd.conf')
-rw-r--r--glpi-httpd.conf12
1 files changed, 5 insertions, 7 deletions
diff --git a/glpi-httpd.conf b/glpi-httpd.conf
index e17d296..6d5b5b9 100644
--- a/glpi-httpd.conf
+++ b/glpi-httpd.conf
@@ -4,8 +4,6 @@ Alias /glpi /usr/share/glpi
Options None
AllowOverride Limit Options FileInfo
- php_value memory_limit 64M
-
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
@@ -36,10 +34,11 @@ Alias /glpi /usr/share/glpi
ErrorDocument 403 "<p><b>Restricted area.</b><br />Only local access allowed.<br />Check your configuration or contact your administrator.</p>"
- # migration could be very long
- php_value max_execution_time 0
- php_value memory_limit -1
-
+ <IfModule mod_php5.c>
+ # migration could be very long
+ php_value max_execution_time 0
+ php_value memory_limit -1
+ </IfModule>
</Directory>
<Directory /usr/share/glpi/config>
@@ -67,4 +66,3 @@ Alias /glpi /usr/share/glpi
# DocumentRoot /usr/share/glpi
# ServerName glpi.example.com
#</VirtualHost>
-