From 62ebcafcc1f0e03998fc8e6a2f33c8c323891333 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Fri, 19 Sep 2025 16:10:43 +0000 Subject: [PATCH] Clean up php.ini. --- .gitattributesdb | 2 +- etc/php84/php.ini | 99 +++++++++++------------------------------------ 2 files changed, 23 insertions(+), 78 deletions(-) diff --git a/.gitattributesdb b/.gitattributesdb index 31efe69..7208e81 100644 --- a/.gitattributesdb +++ b/.gitattributesdb @@ -75,7 +75,7 @@ ZXRjL3BocDg0L2NvbmYuZC85OV9zeXN2c2htLmluaQ== 1758297192 1758297192 root:root 064 ZXRjL3BocDg0L2NvbmYuZC85OV90aWR5LmluaQ== 1758297192 1758297192 root:root 0644 - - ZXRjL3BocDg0L3BocC1mcG0uY29uZg== 1758297200 1754432634 root:root 0644 - - ZXRjL3BocDg0L3BocC1mcG0uZC93d3cuY29uZg== 1758297200 1754432634 root:root 0644 - - -ZXRjL3BocDg0L3BocC5pbmk= 1758297200 1754432634 root:root 0644 - - +ZXRjL3BocDg0L3BocC5pbmk= 1758298187 1754432634 root:root 0644 - - ZXRjL3BrZ2xpc3Q= 1758240000 1757609913 root:root 0644 - - ZXRjL3B1c2hvdmVyLWNsaWVudC9kZWZhdWx0 1758224985 1758224590 root:root 0600 - - ZXRjL3Jlc29sdi5jb25m 1757611605 1757611605 root:root 0644 - - diff --git a/etc/php84/php.ini b/etc/php84/php.ini index fecf83e..ed8bfd1 100644 --- a/etc/php84/php.ini +++ b/etc/php84/php.ini @@ -709,14 +709,6 @@ default_socket_timeout = 60 ; http://php.net/auto-detect-line-endings ;auto_detect_line_endings = Off - - - - -;;;;;;;;;;;;;;;;;;; -; Module Settings ; -;;;;;;;;;;;;;;;;;;; - [Assertion] ; Switch whether to compile assertions at all (to have no overhead at run-time) ; -1: Do not compile at all @@ -762,6 +754,28 @@ zend.assertions = -1 ; Whether the CLI web server uses ANSI color coding in its terminal output. cli_server.color = On +[Date] +; Defines the default timezone used by the date functions +; http://php.net/date.timezone +date.timezone = UTC + +; http://php.net/date.default-latitude +;date.default_latitude = 31.7667 + +; http://php.net/date.default-longitude +;date.default_longitude = 35.2333 + +; http://php.net/date.sunrise-zenith +;date.sunrise_zenith = 90.583333 + +; http://php.net/date.sunset-zenith +;date.sunset_zenith = 90.583333 + + +;;;;;;;;;;;;;;;;;;;;;;;;;;;; +; Built-In Module Settings ; +;;;;;;;;;;;;;;;;;;;;;;;;;;;; + [COM] ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs ; http://php.net/com.typelib-file @@ -787,23 +801,6 @@ cli_server.color = On ; Default: system ANSI code page ;com.code_page= -[Date] -; Defines the default timezone used by the date functions -; http://php.net/date.timezone -date.timezone = UTC - -; http://php.net/date.default-latitude -;date.default_latitude = 31.7667 - -; http://php.net/date.default-longitude -;date.default_longitude = 35.2333 - -; http://php.net/date.sunrise-zenith -;date.sunrise_zenith = 90.583333 - -; http://php.net/date.sunset-zenith -;date.sunset_zenith = 90.583333 - [ffi] ; FFI API restriction. Possible values: ; "preload" - enabled in CLI scripts and preloaded files (default) @@ -840,58 +837,6 @@ mail.add_x_header = Off ; Log mail to syslog (Event Log on Windows). ;mail.log = syslog -[OCI8] -; Connection: Enables privileged connections using external -; credentials (OCI_SYSOPER, OCI_SYSDBA) -; http://php.net/oci8.privileged-connect -;oci8.privileged_connect = Off - -; Connection: The maximum number of persistent OCI8 connections per -; process. Using -1 means no limit. -; http://php.net/oci8.max-persistent -;oci8.max_persistent = -1 - -; Connection: The maximum number of seconds a process is allowed to -; maintain an idle persistent connection. Using -1 means idle -; persistent connections will be maintained forever. -; http://php.net/oci8.persistent-timeout -;oci8.persistent_timeout = -1 - -; Connection: The number of seconds that must pass before issuing a -; ping during oci_pconnect() to check the connection validity. When -; set to 0, each oci_pconnect() will cause a ping. Using -1 disables -; pings completely. -; http://php.net/oci8.ping-interval -;oci8.ping_interval = 60 - -; Connection: Set this to a user chosen connection class to be used -; for all pooled server requests with Oracle 11g Database Resident -; Connection Pooling (DRCP). To use DRCP, this value should be set to -; the same string for all web servers running the same application, -; the database pool must be configured, and the connection string must -; specify to use a pooled server. -;oci8.connection_class = - -; High Availability: Using On lets PHP receive Fast Application -; Notification (FAN) events generated when a database node fails. The -; database must also be configured to post FAN events. -;oci8.events = Off - -; Tuning: This option enables statement caching, and specifies how -; many statements to cache. Using 0 disables statement caching. -; http://php.net/oci8.statement-cache-size -;oci8.statement_cache_size = 20 - -; Tuning: Enables statement prefetching and sets the default number of -; rows that will be fetched automatically after statement execution. -; http://php.net/oci8.default-prefetch -;oci8.default_prefetch = 100 - -; Compatibility. Using On means oci_close() will not close -; oci_connect() and oci_new_connect() connections. -; http://php.net/oci8.old-oci-close-semantics -;oci8.old_oci_close_semantics = Off - [Pcre] ; PCRE library backtracking limit. ; http://php.net/pcre.backtrack-limit