PHP 5.5.16 is released

Configurația la rulare

Comportamentul acestor funcții este afectat de parametrii stabiliți în php.ini.

Iconv Opțiuni de configurare pentru
Denumirea Valoarea implicită Poate fi modificată Jurnalul modificărilor
iconv.input_encoding "" PHP_INI_ALL Available since PHP 4.0.5. PHP <= 5.6.0 uses "ISO-8859-1" as default. Since PHP 5.6.0, if this setting is empty, default_charset is used.
iconv.output_encoding "" PHP_INI_ALL Available since PHP 4.0.5. PHP <= 5.6.0 uses "ISO-8859-1" as default. Since PHP 5.6.0, if this setting is empty, default_charset is used.
iconv.internal_encoding "" PHP_INI_ALL Available since PHP 4.0.5. PHP <= 5.6.0 uses "ISO-8859-1" as default. Since PHP 5.6.0, if this setting is empty, default_charset is used.

Iată o explicație pe scurt a directivelor de configurare.

Avertizare

Some systems (like IBM AIX) use "ISO8859-1" instead of "ISO-8859-1" so this value has to be used in configuration options and function parameters.

iconv.input_encoding string

Currently this option is not used.

iconv.output_encoding string

iconv.internal_encoding string

add a note add a note

User Contributed Notes 1 note

up
-1
Justin
5 years ago
Many people report problems compiling PHP on Leopard due to a libiconv issue.

This may be due to the small C test programme in ./configure.
It calls open_conv with two const * char arguments (correct), but these are NOT valid charsets to iconv. This then breaks ./configure.

AFAIK from the libiconv documentation, the PHP configure call is incorrect: this function expects two valid charset arguments. (You can see a list of valid arguments by running iconv -l).

Changing the call to:

cd = open_conv("UTF-8","ISO-8859-1")

returns a valid iconv_t number (non-negative), and configure can then continue setting up for your Makefile compile.
To Top