openbsd-ports/lang/php/7.0/patches/patch-php_ini-development
2016-10-31 15:06:10 +00:00

60 lines
1.7 KiB
Plaintext

$OpenBSD: patch-php_ini-development,v 1.5 2016/10/31 15:06:10 robert Exp $
--- php.ini-development.orig.port Thu Oct 13 16:04:17 2016
+++ php.ini-development Wed Oct 26 11:00:51 2016
@@ -695,11 +695,8 @@ default_charset = "UTF-8"
;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: "/path1:/path2"
-;include_path = ".:/php/includes"
+include_path = ".:OPENBSD_INCLUDE_PATH"
;
-; Windows: "\path1;\path2"
-;include_path = ".;c:\php\includes"
-;
; PHP's default setting for include_path is ".;/path/to/php/pear"
; http://php.net/include-path
@@ -721,6 +718,7 @@ user_dir =
; extension_dir = "./"
; On windows:
; extension_dir = "ext"
+extension_dir = "MODULES_DIR"
; Directory where the temporary files should be placed.
; Defaults to the system default (see sys_get_temp_dir)
@@ -817,7 +815,7 @@ max_file_uploads = 20
; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
; http://php.net/allow-url-fopen
-allow_url_fopen = On
+allow_url_fopen = Off
; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
; http://php.net/allow-url-include
@@ -921,7 +919,7 @@ cli_server.color = On
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
-;date.timezone =
+date.timezone = UTC
; http://php.net/date.default-latitude
;date.default_latitude = 31.7667
@@ -1014,16 +1012,6 @@ pdo_mysql.default_socket=
;phar.cache_list =
[mail function]
-; For Win32 only.
-; http://php.net/smtp
-SMTP = localhost
-; http://php.net/smtp-port
-smtp_port = 25
-
-; For Win32 only.
-; http://php.net/sendmail-from
-;sendmail_from = me@example.com
-
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
;sendmail_path =