diff options
Diffstat (limited to 'php.modconf')
-rw-r--r-- | php.modconf | 8 |
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> |