summaryrefslogtreecommitdiffstats
path: root/php.modconf
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-03-25 13:09:16 +0100
committerRemi Collet <fedora@famillecollet.com>2015-03-25 13:09:16 +0100
commit0ed79bdc73e17bf449d3fcae2926679e03d9e952 (patch)
tree0bf1bc299df32373e37828a4f44c055303c02110 /php.modconf
parent70a51a09d3df5650244b8a402dc37db78be1ef6b (diff)
php70-php: fix mod_php configuration
Diffstat (limited to 'php.modconf')
-rw-r--r--php.modconf8
1 files changed, 6 insertions, 2 deletions
diff --git a/php.modconf b/php.modconf
index 87f97c9..3377f72 100644
--- a/php.modconf
+++ b/php.modconf
@@ -2,7 +2,11 @@
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
-<IfModule prefork.c>
- LoadModule php5_module modules/libphp5.so
+
+# Cannot load both php5 and php7 modules
+<IfModule !mod_php5.c>
+ <IfModule prefork.c>
+ LoadModule php7_module modules/libphp7.so
+ </IfModule>
</IfModule>