Merge pull request #7 from seschwar/master

Make PHP option short_open_tag configurable.
This commit is contained in:
Jeff Geerling 2014-09-20 23:16:46 -05:00
commit 604286acfc
3 changed files with 6 additions and 1 deletions

View File

@ -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.
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).

View File

@ -15,3 +15,4 @@ php_enable_php_fpm: false
php_enable_apc: true
php_sendmail_path: "/usr/sbin/sendmail -t -i"
php_short_open_tag: false

View File

@ -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