# New INIs, Round Three

- Thread: https://externals.io/message/43151
- Original archive: https://news-web.php.net/php.internals/43151
- Started by Eric Stewart on 2009-02-22T06:33:03+00:00
- Messages: 4
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #43151 — Eric Stewart — 2009-02-22T06:33:03+00:00

URL: https://externals.io/message/43151#43151

I made the following changes to the new INIs based on feedback mostly from
this list. Here are the changes.
1. Changed production value of error_reporting to `E_ALL` & ~E_DEPRECATED.

2. extension_dir is now commented in both INIs.

3. enable_dl is now set to Off in both INIs. This was not added to the Quick
Reference section as PHP NEWS has this value now changed to Off as of 5.3.

4. Changed doc references that had us2.php.net to www.php.net.

5. Changed point 6 in the About php.ini section from:

; 6. Windows directory (C:\windows or C:\winnt), or --with-config-file-path
; compile time option.

to:

; 6. The directory from the --with-config-file-path compile time option, or
the
; Windows directory (C:\windows or C:\winnt)

6. Changed comments about Dynamic Extensions to include the addition of
paths. The new comment regarding this now reads:

; If you wish to have an extension loaded automatically, use the following
; syntax:
;
;   extension=modulename.extension
;
; For example, on Windows:
;
;   extension=msql.dll
;
; ... or under UNIX:
;
;   extension=msql.so
;
; ... or with a path:
;
;   extension=/path/to/extension/msql.so
;
; If you only provide the name of the extension, PHP will look for it in
it's
; default extension directory.

7. A few small grammatical and spelling mistakes have been fixed.

8. On a vote of 10 to 1. The production INI value for
allow_call_time_pass_reference is now set to Off (Issue Warnings).

That's all the changes made this round. You can view the revised versions
at:
http://wiki.php.net/rfc/newinis

Please let me know if there are any other adjustments we need to make. From
the looks of things, I think we are getting close to moving this RFC from
Active to Accepted. So let me know what you think.

Eric Lee Stewart

---

## #43169 — Richard Quadling — 2009-02-25T12:22:35+00:00

URL: https://externals.io/message/43151#43169 · In reply to: #43151

2009/2/22 Eric Stewart <ericleestewart@gmail.com>:
> I made the following changes to the new INIs based on feedback mostly from
> this list. Here are the changes.
> 1. Changed production value of error_reporting to `E_ALL` & ~E_DEPRECATED.
>
> 2. extension_dir is now commented in both INIs.
>
> 3. enable_dl is now set to Off in both INIs. This was not added to the Quick
> Reference section as PHP NEWS has this value now changed to Off as of 5.3.
>
> 4. Changed doc references that had us2.php.net to www.php.net.
>
> 5. Changed point 6 in the About php.ini section from:
>
> ; 6. Windows directory (C:\windows or C:\winnt), or --with-config-file-path
> ; compile time option.
>
> to:
>
> ; 6. The directory from the --with-config-file-path compile time option, or
> the
> ; Windows directory (C:\windows or C:\winnt)
>
> 6. Changed comments about Dynamic Extensions to include the addition of
> paths. The new comment regarding this now reads:
>
> ; If you wish to have an extension loaded automatically, use the following
> ; syntax:
> ;
> ;   extension=modulename.extension
> ;
> ; For example, on Windows:
> ;
> ;   extension=msql.dll
> ;
> ; ... or under UNIX:
> ;
> ;   extension=msql.so
> ;
> ; ... or with a path:
> ;
> ;   extension=/path/to/extension/msql.so
> ;
> ; If you only provide the name of the extension, PHP will look for it in
> it's
> ; default extension directory.
>
> 7. A few small grammatical and spelling mistakes have been fixed.
>
> 8. On a vote of 10 to 1. The production INI value for
> allow_call_time_pass_reference is now set to Off (Issue Warnings).
>
> That's all the changes made this round. You can view the revised versions
> at:
> http://wiki.php.net/rfc/newinis
>
> Please let me know if there are any other adjustments we need to make. From
> the looks of things, I think we are getting close to moving this RFC from
> Active to Accepted. So let me know what you think.
>
> Eric Lee Stewart
>

Does it matter if single or double quotes are used for quoting strings
in the INI files?

In my testing on Windows, I'm not seeing any difference.

Richard.

-- 
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"

---

## #43173 — Richard Quadling — 2009-02-26T12:29:14+00:00

URL: https://externals.io/message/43151#43173 · In reply to: #43169

2009/2/25 Richard Quadling <rquadling@googlemail.com>:
> 2009/2/22 Eric Stewart <ericleestewart@gmail.com>:
> > […]


Should extension inter-dependency of extensions be shown in the INI file.

For example, mbstring must be loaded before exif and mailparse, and
bz2 before bcompiler, as well as pdo before the pdo_xxxx

; extension = php_mbstring.dll
; extension = php_exif.dll ; Requires php_mbstring.dll to be loaded
before this extension
; extension = php_mailparse.dll ; Requires php_mbstring.dll to be
loaded before this extension

; extension = php_bz2.dll
; extension = php_bcompiler.dll ; Requires php_bz2.dll to be loaded
before this extension

Also, some extensions require external libraries ...

; extension = php_ibm_db2.dll ; Requires external libraries
; extension = php_ifx.dll ; Requires external libraries
; extension = php_ingres2.dll ; Requires external libraries
; extension = php_maxdb.dll ; Requires external libraries
; extension = php_mcve.dll ; Requires external libraries
; extension = php_netools.dll ; Requires external libraries
; extension = php_oci8.dll ; Requires external libraries
; extension = php_openssl.dll ; Requires external libraries
; extension = php_oracle.dll ; Requires external libraries
; extension = php_pdo_ibm.dll ; Requires external libraries
; extension = php_pdo_informix.dll ; Requires external libraries
; extension = php_pdo_oci.dll ; Requires external libraries
; extension = php_pdo_oci8.dll ; Requires external libraries
; extension = php_pdo_pgsql.dll ; Requires external libraries
; extension = php_pdo_sqlite_external.dll ; Requires external libraries
; extension = php_pgsql.dll ; Requires external libraries
; extension = php_ssh2.dll ; Requires external libraries
; extension = php_sybase_ct.dll ; Requires external libraries

; extension = php_iisfunc.dll ; Requires external services
; extension = php_sam.dll ; Requires external services

Whilst PHP4 is still present, there are some extensions which are
available, but not for PHP5+
; extension = php_db.dll ; Not available for PHP5+
; extension = php_domxml.dll ; Not available for PHP5+


Richard.
-- 
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"

---

## #43269 — Daniel Convissor — 2009-03-06T17:57:46+00:00

URL: https://externals.io/message/43151#43269 · In reply to: #43151

Hi Eric:

The mail.log entries need to be commented out, please.
http://bugs.php.net/bug.php?id=47543

Thanks,

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409
