Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit a039216

Browse files
committed
CLOSES #233: Adds PHP 5 applicable session settings into service configuration.
1 parent a4e28b9 commit a039216

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
Summary of release changes.
66

7+
### 1.13.2 - Unreleased
8+
9+
- Adds PHP 5 applicable session settings into service configuration.
10+
711
### 1.13.1 - 2019-07-28
812

913
- Updates php-hello-world to [0.13.0](https://github.com/jdeathe/php-hello-world/releases/tag/0.13.0).

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ADD src /
4949
# - Disable Apache default fcgid configuration; replaced with 00-fcgid.conf
5050
# - Disable the default SSL Virtual Host
5151
# - Disable SSL
52-
# - Add default PHP configuration overrides to 00-php.ini drop-in.
52+
# - Add default PHP configuration overrides to 00-php.ini drop-in
5353
# - APC configuration
5454
# - Replace placeholders with values in systemd service unit template
5555
# - Set permissions
@@ -159,6 +159,8 @@ RUN useradd -r -M -d /var/www/app -s /sbin/nologin app \
159159
-e 's~^;?(realpath_cache_size( )?=).*$~\1\24096k~' \
160160
-e 's~^;?(realpath_cache_ttl( )?=).*$~\1\2600~' \
161161
-e 's~^;?(session.cookie_httponly( )?=).*$~\1\21~' \
162+
-e 's~^;?(session.hash_bits_per_character( )?=).*$~\1\25~' \
163+
-e 's~^;?(session.hash_function( )?=).*$~\1\2sha256~' \
162164
-e 's~^;?(session.name( )?=).*$~\1\2"${PHP_OPTIONS_SESSION_NAME:-PHPSESSID}"~' \
163165
-e 's~^;?(session.save_handler( )?=).*$~\1\2"${PHP_OPTIONS_SESSION_SAVE_HANDLER:-files}"~' \
164166
-e 's~^;?(session.save_path( )?=).*$~\1\2"${PHP_OPTIONS_SESSION_SAVE_PATH:-/var/lib/php/session}"~' \

0 commit comments

Comments
 (0)