-
Notifications
You must be signed in to change notification settings - Fork 1
Move session path to a more agnostic place (that exists!!) #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.idea |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -217,7 +217,6 @@ catch_workers_output = yes | |
; specified at startup with the -d argument | ||
;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com | ||
php_flag[display_errors] = off | ||
;php_admin_value[error_log] = /opt/rh/php55/root/var/log/php-fpm/www-error.log | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This right here... if we could get this to work with a similarly generic path, we could move the stdout symlink to base as well and not manage it as a PHP-version variation. That's aside the point of this PR, just excited to see it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. there is no reason we can't put that right into |
||
php_admin_flag[log_errors] = on | ||
php_value[max_execution_time] = {{getenv "PHP_MAX_EXECUTION_TIME"}} | ||
php_value[memory_limit] = {{getenv "PHP_MEMORY_LIMIT"}} | ||
|
@@ -228,7 +227,7 @@ php_value[upload_max_filesize] = {{getenv "PHP_UPLOAD_MAX_FILESIZE"}} | |
|
||
; Set session path to a directory owned by process user | ||
php_value[session.save_handler] = files | ||
php_value[session.save_path] = /opt/rh/php55/root/var/lib/php/session | ||
php_value[session.save_path] = /var/lib/php/session | ||
|
||
; Pass the full ENV through. | ||
clear_env = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be a volume as well for session resume after a container restart?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't that be a project/environment level decision to map a volume to this particular path?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm speaking of the Dockerfile VOLUME syntax, which persists data across docker runs but not docker rm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
http://stackoverflow.com/a/40174052