PKGBUILDs/extra/php/php.ini.patch

85 lines
2.1 KiB
Diff
Raw Normal View History

2020-08-08 18:44:19 +00:00
--- php.ini-production.orig
+++ php.ini-production
2022-01-21 17:33:04 +00:00
@@ -760,7 +760,7 @@
2020-08-08 18:44:19 +00:00
; Directory in which the loadable extensions (modules) reside.
2022-01-21 17:33:04 +00:00
; https://php.net/extension-dir
2020-08-08 18:44:19 +00:00
-;extension_dir = "./"
+extension_dir = "/usr/lib/php/modules/"
; On windows:
;extension_dir = "ext"
2023-01-14 02:56:19 +00:00
@@ -908,57 +908,43 @@
2020-08-08 18:44:19 +00:00
; deprecated in a future PHP major version. So, when it is possible, please
; move to the new ('extension=<ext>) syntax.
;
-; Notes for Windows environments :
-;
2023-01-14 02:56:19 +00:00
-; - Many DLL files are located in the ext/
-; extension folders as well as the separate PECL DLL download.
2020-08-08 18:44:19 +00:00
-; Be sure to appropriately set the extension_dir directive.
-;
+;extension=bcmath
;extension=bz2
2023-01-14 02:56:19 +00:00
-
-; The ldap extension must be before curl if OpenSSL 1.0.2 and OpenLDAP is used
-; otherwise it results in segfault when unloading after using SASL.
-; See https://github.com/php/php-src/issues/8620 for more info.
-;extension=ldap
-
2020-08-08 18:44:19 +00:00
-;extension=curl
+;extension=calendar
+extension=curl
+;extension=dba
+;extension=enchant
+;extension=exif
;extension=ffi
;extension=ftp
-;extension=fileinfo
2021-01-29 01:12:46 +00:00
;extension=gd
2020-08-08 18:44:19 +00:00
;extension=gettext
;extension=gmp
+;extension=iconv
2023-01-14 02:56:19 +00:00
;extension=intl
-;extension=imap
2020-08-08 18:44:19 +00:00
-;extension=mbstring
-;extension=exif ; Must be after mbstring as it depends on it
2023-01-14 02:56:19 +00:00
+;extension=ldap
2020-08-08 18:44:19 +00:00
;extension=mysqli
-;extension=oci8_12c ; Use with Oracle Database 12c Instant Client
2021-01-29 01:12:46 +00:00
-;extension=oci8_19 ; Use with Oracle Database 19 Instant Client
2020-08-08 18:44:19 +00:00
;extension=odbc
-;extension=openssl
-;extension=pdo_firebird
+;zend_extension=opcache
+;extension=pdo_dblib
;extension=pdo_mysql
-;extension=pdo_oci
;extension=pdo_odbc
;extension=pdo_pgsql
;extension=pdo_sqlite
;extension=pgsql
+;extension=pspell
;extension=shmop
-
-; The MIBS data available in the PHP distribution must be installed.
2022-01-21 17:33:04 +00:00
-; See https://www.php.net/manual/en/snmp.installation.php
2020-08-08 18:44:19 +00:00
;extension=snmp
-
;extension=soap
;extension=sockets
;extension=sodium
;extension=sqlite3
+;extension=sysvmsg
+;extension=sysvsem
+;extension=sysvshm
;extension=tidy
;extension=xsl
2023-01-14 02:56:19 +00:00
-;extension=zip
2021-01-29 01:12:46 +00:00
-
-;zend_extension=opcache
2020-08-08 18:44:19 +00:00
+extension=zip
;;;;;;;;;;;;;;;;;;;
; Module Settings ;