roles/php5-fpm: Fix php.ini reconfiguration (pathinfo)
Use replace instead of lineinfile, addresses GitHub issue #1. Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
3d3b6c8a3f
commit
6d07af97f3
@ -18,7 +18,7 @@
|
||||
# re-configure php to only process exact paths, see:
|
||||
# http://codex.wordpress.org/Nginx
|
||||
- name: Update php.ini
|
||||
lineinfile: dest=/etc/php5/fpm/php.ini regexp=^;cgi.fix_pathinfo line=cgi.fix_pathinfo=0
|
||||
replace: dest=/etc/php5/fpm/php.ini regexp='^;cgi\.fix_pathinfo=0$' replace='cgi.fix_pathinfo=0'
|
||||
notify: restart php5-fpm
|
||||
tags: php5-fpm
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user