PHP Velho Oeste 2024

Laufzeit-Konfiguration

Das Verhalten dieser Funktionen wird durch Einstellungen in der php.ini beeinflusst.

Iconv Konfigurationsoptionen
Name Standard Veränderbar Changelog
iconv.input_encoding "" INI_ALL Deprecated in PHP 5.6.0.
iconv.output_encoding "" INI_ALL Deprecated in PHP 5.6.0.
iconv.internal_encoding "" INI_ALL Deprecated in PHP 5.6.0.

Hier eine kurze Erklärung der Konfigurationsoptionen:

Warnung

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
Warnung

Diese Funktion ist seit PHP 5.6.0 als DEPRECATED (veraltet) markiert. Von der Verwendung dieses Features wird dringend abgeraten.

PHP 5.6 and later users should leave this empty and set input_encoding instead.

iconv.output_encoding string
Warnung

Diese Funktion ist seit PHP 5.6.0 als DEPRECATED (veraltet) markiert. Von der Verwendung dieses Features wird dringend abgeraten.

PHP 5.6 and later users should leave this empty and set output_encoding instead.

iconv.internal_encoding string
Warnung

Diese Funktion ist seit PHP 5.6.0 als DEPRECATED (veraltet) markiert. Von der Verwendung dieses Features wird dringend abgeraten.

PHP 5.6 and later users should leave this empty and set default_charset instead.

add a note add a note

User Contributed Notes 1 note

up
-4
Justin
15 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