PKGBUILDs/extra/php-legacy/php.ini.patch
2023-01-14 19:37:24 +00:00

83 lines
2.1 KiB
Diff

--- php.ini-production.orig
+++ php.ini-production
@@ -760,7 +760,7 @@
; Directory in which the loadable extensions (modules) reside.
; https://php.net/extension-dir
-;extension_dir = "./"
+extension_dir = "/usr/lib/php-legacy/modules/"
; On windows:
;extension_dir = "ext"
@@ -908,56 +908,43 @@
; deprecated in a future PHP major version. So, when it is possible, please
; move to the new ('extension=<ext>) syntax.
;
-; Notes for Windows environments :
-;
-; - Many DLL files are located in the extensions/ (PHP 4) or ext/ (PHP 5+)
-; extension folders as well as the separate PECL DLL download (PHP 5+).
-; Be sure to appropriately set the extension_dir directive.
-;
+;extension=bcmath
;extension=bz2
-
-; 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
-
-;extension=curl
+;extension=calendar
+extension=curl
+;extension=dba
+;extension=enchant
+;extension=exif
;extension=ffi
;extension=ftp
-;extension=fileinfo
;extension=gd
;extension=gettext
;extension=gmp
+;extension=iconv
;extension=intl
-;extension=imap
-;extension=mbstring
-;extension=exif ; Must be after mbstring as it depends on it
+;extension=ldap
;extension=mysqli
-;extension=oci8_12c ; Use with Oracle Database 12c Instant Client
-;extension=oci8_19 ; Use with Oracle Database 19 Instant Client
;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.
-; See https://www.php.net/manual/en/snmp.installation.php
;extension=snmp
-
;extension=soap
;extension=sockets
;extension=sodium
;extension=sqlite3
+;extension=sysvmsg
+;extension=sysvsem
+;extension=sysvshm
;extension=tidy
;extension=xsl
-
-;zend_extension=opcache
+extension=zip
;;;;;;;;;;;;;;;;;;;
; Module Settings ;