|
| 1 | +[OCI8] |
| 2 | + |
| 3 | +; Required if your installation does not already add this line. |
| 4 | +;extension=oci8 |
| 5 | +; On Windows use: |
| 6 | +;extension=oci8_19 ; Use with Oracle Database 19c Instant Client |
| 7 | + |
| 8 | +; Connection: Enables privileged connections using external credentials |
| 9 | +; (OCI_SYSOPER, OCI_SYSDBA) |
| 10 | +; https://php.net/oci8.privileged-connect |
| 11 | +; |
| 12 | +;oci8.privileged_connect = Off |
| 13 | + |
| 14 | +; Connection: The maximum number of persistent OCI8 connections per process. |
| 15 | +; Using -1 means no limit. |
| 16 | +; https://php.net/oci8.max-persistent |
| 17 | +; |
| 18 | +;oci8.max_persistent = -1 |
| 19 | + |
| 20 | +; Connection: The maximum number of seconds a process is allowed to maintain an |
| 21 | +; idle persistent connection. Using -1 means idle persistent connections will |
| 22 | +; be maintained forever. |
| 23 | +; https://php.net/oci8.persistent-timeout |
| 24 | +; |
| 25 | +;oci8.persistent_timeout = -1 |
| 26 | + |
| 27 | +; Connection: The number of seconds that must pass before issuing an internal |
| 28 | +; round-trip ping from OCI8 to the database when oci_pconnect() is called. If |
| 29 | +; the internally-chosen connection is not usable, it is destroyed and different |
| 30 | +; connection returned to the application. When set to 0, each oci_pconnect() |
| 31 | +; will cause a ping. Using -1 disables pings completely. |
| 32 | +; https://php.net/oci8.ping-interval |
| 33 | +; |
| 34 | +;oci8.ping_interval = 60 |
| 35 | + |
| 36 | +; Connection: For Oracle Database Resident Connection Pooling (DRCP), set this |
| 37 | +; to a user-chosen connection class string. To use DRCP: (i) this parameter |
| 38 | +; should be set to the same value for all web servers running the same |
| 39 | +; application, (ii) the DRCP pool must be started in the database, and (iii) |
| 40 | +; the connection string must also specify to use a pooled server. |
| 41 | +; https://www.php.net/manual/oci8.configuration.php#ini.oci8.connection-class |
| 42 | +; |
| 43 | +;oci8.connection_class = |
| 44 | + |
| 45 | +; High Availability: Using On lets PHP receive Fast Application Notification |
| 46 | +; (FAN) events generated when a database node fails. The database must also be |
| 47 | +; configured to post FAN events. |
| 48 | +; https://www.php.net/manual/en/oci8.configuration.php#ini.oci8.events |
| 49 | +; |
| 50 | +;oci8.events = Off |
| 51 | + |
| 52 | +; Tuning: This option enables statement caching, and specifies how many |
| 53 | +; statements to cache. Using 0 disables statement caching. |
| 54 | +; https://php.net/oci8.statement-cache-size |
| 55 | +; |
| 56 | +;oci8.statement_cache_size = 20 |
| 57 | + |
| 58 | +; Tuning: Enables row prefetching and sets the default number of rows that will |
| 59 | +; be fetched automatically after statement execution. Tuning this can improve |
| 60 | +; performance by reducing round-trips. |
| 61 | +; https://php.net/oci8.default-prefetch |
| 62 | +; |
| 63 | +;oci8.default_prefetch = 100 |
| 64 | + |
| 65 | +; Tuning: Sets the amount of LOB data that is internally returned from Oracle |
| 66 | +; Database when an Oracle LOB locator is initially retrieved as part of a |
| 67 | +; query. Setting this can improve performance by reducing round-trips. |
| 68 | +; https://www.php.net/manual/oci8.configuration.php#ini.oci8.prefetch-lob-size |
| 69 | +; |
| 70 | +;oci8.prefetch_lob_size = 0 |
| 71 | + |
| 72 | +; Compatibility: Using On means oci_close() will not close oci_connect() and |
| 73 | +; oci_new_connect() connections. |
| 74 | +; https://php.net/oci8.old-oci-close-semantics |
| 75 | +; |
| 76 | +;oci8.old_oci_close_semantics = Off |
0 commit comments