Add php80 package version 8.0.3 (PHP 8.0.3) with current PHP framework of pkgsrc. PHP is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. It is modular, and object-oriented. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The language is designed to allow web developers to write dynamically generated pages quickly. PHP 8.0 comes with numerous improvements and new features such as * Union Types * Named Arguments * Match Expressions * Attributes * Constructor Property Promotion * Nullsafe Operator * Weak Maps * Just In Time Compilation * And much much more...
34 lines
1.1 KiB
Text
34 lines
1.1 KiB
Text
$NetBSD: patch-php.ini-development,v 1.1 2021/03/07 13:41:36 taca Exp $
|
|
|
|
Set proper default configuration values.
|
|
|
|
--- php.ini-development.orig 2018-12-04 16:12:20.000000000 +0000
|
|
+++ php.ini-development
|
|
@@ -722,7 +722,7 @@ default_charset = "UTF-8"
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
; UNIX: "/path1:/path2"
|
|
-;include_path = ".:/php/includes"
|
|
+include_path = ".:@PREFIX@/lib/php"
|
|
;
|
|
; Windows: "\path1;\path2"
|
|
;include_path = ".;c:\php\includes"
|
|
@@ -743,7 +743,8 @@ doc_root =
|
|
; http://php.net/user-dir
|
|
user_dir =
|
|
|
|
-; Directory in which the loadable extensions (modules) reside.
|
|
+; Directory in which the loadable extensions (modules) reside. If not
|
|
+; defined, then use the extension directory specified at compile-time.
|
|
; http://php.net/extension-dir
|
|
;extension_dir = "./"
|
|
; On windows:
|
|
@@ -828,7 +829,7 @@ file_uploads = On
|
|
; Temporary directory for HTTP uploaded files (will use system default if not
|
|
; specified).
|
|
; http://php.net/upload-tmp-dir
|
|
-;upload_tmp_dir =
|
|
+upload_tmp_dir = /tmp
|
|
|
|
; Maximum allowed size for uploaded files.
|
|
; http://php.net/upload-max-filesize
|