diff --git a/defaults/main.yml b/defaults/main.yml index 15049fb..7046a48 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -45,6 +45,8 @@ php_upload_max_filesize: "64M" php_post_max_size: "32M" php_date_timezone: "America/Chicago" +php_allow_url_fopen: "Off" + php_sendmail_path: "/usr/sbin/sendmail -t -i" php_short_open_tag: false diff --git a/templates/php.ini.j2 b/templates/php.ini.j2 index 8aa002a..7bc1486 100644 --- a/templates/php.ini.j2 +++ b/templates/php.ini.j2 @@ -88,7 +88,7 @@ max_file_uploads = 20 ; Fopen wrappers ; ;;;;;;;;;;;;;;;;;; -allow_url_fopen = On +allow_url_fopen = {{ php_allow_url_fopen }} allow_url_include = Off default_socket_timeout = 60