mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-11-28 12:45:16 +01:00
Make PHP option short_open_tag configurable
This is useful for nasty legacy applications.
This commit is contained in:
parent
950049e5bf
commit
df29e3d358
@ -37,6 +37,10 @@ Explicitly set PHP's date timezone system-wide.
|
||||
|
||||
The path to use for sendmail or a sendmail wrapper/replacement. You can also add options to this line if you need to set sendmail to use an explicit name/email for the sender.
|
||||
|
||||
php_short_open_tag: false
|
||||
|
||||
Whether to allow short open tags.
|
||||
|
||||
php_packages: []
|
||||
|
||||
A list of the PHP packages to install (OS-specific by default). You'll likely want to install common packages like `php`, `php-cli`, `php-devel` and `php-pdo`, and you can add in whatever other packages you'd like (for example, `php-gd` for image manipulation, or `php-ldap` if you need to connect to an LDAP server for authentication).
|
||||
|
@ -14,3 +14,4 @@ php_webserver_daemon: "httpd"
|
||||
php_enable_php_fpm: false
|
||||
|
||||
php_sendmail_path: "/usr/sbin/sendmail -t -i"
|
||||
php_short_open_tag: false
|
||||
|
@ -208,7 +208,7 @@ engine = On
|
||||
; Development Value: Off
|
||||
; Production Value: Off
|
||||
; http://php.net/short-open-tag
|
||||
short_open_tag = Off
|
||||
short_open_tag = {{ php_short_open_tag }}
|
||||
|
||||
; Allow ASP-style <% %> tags.
|
||||
; http://php.net/asp-tags
|
||||
|
Loading…
Reference in New Issue
Block a user