commit 41666fc23cde9f9fb14235e071812a9424c8f27c
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Wed May 10 10:40:17 2017 +0200

    - rel 2; define session path for php4 and 7, too

 apache-mod_mpm_itk-php.conf | 8 ++++++++
 apache-mod_mpm_itk.spec     | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/apache-mod_mpm_itk.spec b/apache-mod_mpm_itk.spec
index a3e0229..5174b23 100644
--- a/apache-mod_mpm_itk.spec
+++ b/apache-mod_mpm_itk.spec
@@ -5,7 +5,7 @@
 Summary:       mod_mpm_itk - allows you to run each of your vhost under a 
separate uid and gid
 Name:          apache-mod_mpm_itk
 Version:       %{ver}.%{subver}
-Release:       1
+Release:       2
 License:       Apache v2.0
 Group:         Networking/Daemons/HTTP
 Source0:       http://mpm-itk.sesse.net/mpm-itk-%{ver}-%{subver}.tar.gz
diff --git a/apache-mod_mpm_itk-php.conf b/apache-mod_mpm_itk-php.conf
index 111bcb5..24a0d20 100644
--- a/apache-mod_mpm_itk-php.conf
+++ b/apache-mod_mpm_itk-php.conf
@@ -1,9 +1,17 @@
 # different settings when ITK in use
 
+<IfModule mod_php4.c>
+php_value session.save_path "/var/run/php-ug"
+</IfModule>
+
 <IfModule mod_php5.c>
 php_value session.save_path "/var/run/php-ug"
 </IfModule>
 
+<IfModule mod_php7.c>
+php_value session.save_path "/var/run/php-ug"
+</IfModule>
+
 <IfModule sapi_apache2.c>
 php_value session.save_path "/var/run/php-ug"
 </IfModule>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/apache-mod_mpm_itk.git/commitdiff/41666fc23cde9f9fb14235e071812a9424c8f27c

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to