summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2017-06-07 11:30:50 +0000
committerramon <ramongomez@us.es>2017-06-07 11:30:50 +0000
commitf05f558efffadc93663726fc98a0f97df35ac025 (patch)
tree7882a2e83f3d6c313a268259a90007fe06708ef0 /server
parenta7e6f1b3c25e04d311f0bb477cbf85ab789bcf01 (diff)
#730: Evitar error de inicio de Apache si se configura PHP-FPM en vez de mod_php.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5347 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server')
-rw-r--r--server/etc/apache.conf.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/etc/apache.conf.tmpl b/server/etc/apache.conf.tmpl
index 5249d3fc..8158b767 100644
--- a/server/etc/apache.conf.tmpl
+++ b/server/etc/apache.conf.tmpl
@@ -5,7 +5,9 @@ Alias /opengnsys CONSOLEDIR
RewriteEngine On
# Overrides default CentOS php.ini configuration.
-php_value short_open_tag on
+<IfModule mod_php5.c>
+ php_value short_open_tag on
+</IfDefine>
# Redirect HTTP to HTTPS and default configuration.
<Directory CONSOLEDIR>