slackware-current/extra/source/php8/php.ini-development.diff
Patrick J Volkerding 782ab7566e Fri Feb 19 20:53:50 UTC 2021
d/autoconf-archive-2021.02.19-noarch-1.txz:  Upgraded.
d/python3-3.9.2-x86_64-1.txz:  Upgraded.
kde/libksysguard-5.21.0-x86_64-2.txz:  Rebuilt.
  Patched to fix crash without systemd. Thanks to LuckyCyborg.
l/imagemagick-7.0.11_0-x86_64-1.txz:  Upgraded.
extra/php8/php8-8.0.2-x86_64-1.txz:  Added.
2021-02-20 08:59:50 +01:00

62 lines
1.7 KiB
Diff

--- ./php.ini-development.orig 2020-05-12 03:09:16.000000000 -0500
+++ ./php.ini-development 2020-05-12 14:14:32.901530776 -0500
@@ -899,7 +899,50 @@
; 'extension='php_<ext>.dll') is supported for legacy reasons and may be
; deprecated in a future PHP major version. So, when it is possible, please
; move to the new ('extension=<ext>) syntax.
+
+; These are the extensions that are available for use on this PHP build.
+; If you do NOT need any of these extensions, you should comment them out.
+; That will probably increase both your security and performance.
;
+extension=bcmath
+extension=bz2
+extension=calendar
+extension=ctype
+extension=curl
+extension=dba
+extension=dom
+extension=enchant
+extension=exif
+extension=ftp
+extension=gd
+extension=gettext
+extension=gmp
+extension=iconv
+extension=intl
+extension=ldap
+extension=mbstring
+extension=mysqlnd
+extension=mysqli
+extension=odbc
+extension=openssl
+zend_extension=opcache
+extension=pdo
+extension=pdo_mysql
+extension=pdo_sqlite
+extension=pdo_odbc
+extension=pspell
+extension=shmop
+extension=snmp
+extension=soap
+extension=sqlite3
+extension=tidy
+extension=tokenizer
+extension=xmlreader
+extension=xmlrpc
+extension=xsl
+extension=zip
+extension=zlib
+
; Notes for Windows environments :
;
; - Many DLL files are located in the extensions/ (PHP 4) or ext/ (PHP 5+)
@@ -1335,7 +1378,7 @@
; where MODE is the octal representation of the mode. Note that this
; does not overwrite the process's umask.
; http://php.net/session.save-path
-;session.save_path = "/tmp"
+session.save_path = "/var/lib/php"
; Whether to use strict session mode.
; Strict session mode does not accept an uninitialized session ID, and