mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-09-28 04:09:24 +02:00
Merge pull request #7 from seschwar/master
Make PHP option short_open_tag configurable.
This commit is contained in:
commit
604286acfc
@ -41,6 +41,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.
|
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: []
|
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).
|
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).
|
||||||
|
@ -15,3 +15,4 @@ php_enable_php_fpm: false
|
|||||||
php_enable_apc: true
|
php_enable_apc: true
|
||||||
|
|
||||||
php_sendmail_path: "/usr/sbin/sendmail -t -i"
|
php_sendmail_path: "/usr/sbin/sendmail -t -i"
|
||||||
|
php_short_open_tag: false
|
||||||
|
@ -208,7 +208,7 @@ engine = On
|
|||||||
; Development Value: Off
|
; Development Value: Off
|
||||||
; Production Value: Off
|
; Production Value: Off
|
||||||
; http://php.net/short-open-tag
|
; http://php.net/short-open-tag
|
||||||
short_open_tag = Off
|
short_open_tag = {{ php_short_open_tag }}
|
||||||
|
|
||||||
; Allow ASP-style <% %> tags.
|
; Allow ASP-style <% %> tags.
|
||||||
; http://php.net/asp-tags
|
; http://php.net/asp-tags
|
||||||
|
Loading…
Reference in New Issue
Block a user