ID:               50746
 User updated by:  werner at aloah-from-hell dot de
 Reported By:      werner at aloah-from-hell dot de
 Status:           Bogus
 Bug Type:         ICONV related
 Operating System: Linux X86_64, Kernel 2.6.32.2
 PHP Version:      5.2.12
 New Comment:

Hi, 

unfornately the are the same:

server2:# diff /usr/local/lib/php.ini /home/werner/php.ini
server2:# 

Also the phpinfo-Output for iconv on both systems is identical:

server1:
iconv
iconv support => enabled
iconv implementation => glibc
iconv library version => 2.3.6

Directive => Local Value => Master Value
iconv.input_encoding => ISO-8859-1 => ISO-8859-1
iconv.internal_encoding => ISO-8859-1 => ISO-8859-1
iconv.output_encoding => ISO-8859-1 => ISO-8859-1+


server2:
iconv
iconv support => enabled
iconv implementation => glibc
iconv library version => 2.3.6

Directive => Local Value => Master Value
iconv.input_encoding => ISO-8859-1 => ISO-8859-1
iconv.internal_encoding => ISO-8859-1 => ISO-8859-1
iconv.output_encoding => ISO-8859-1 => ISO-8859-1

Bye,
Werner


Previous Comments:
------------------------------------------------------------------------

[2010-01-14 10:22:07] j...@php.net

I'm quite sure they aren't totally identical. Most likely the one where
it doesn't work is not installed properly or someone has messed
something there. Anyway, since this sure isn't PHP bug -> bogus.

------------------------------------------------------------------------

[2010-01-14 10:18:26] werner at aloah-from-hell dot de

Hi, 

the hardware-specs are the same - same for the PHP configuration. I'll

need more testing here ... 

Anyway, thanks again. 

Werner

------------------------------------------------------------------------

[2010-01-14 10:15:56] j...@php.net

No idea since I do not know the specs of your servers. :)
Check the diff between their phpinfo() output on iconv section.

------------------------------------------------------------------------

[2010-01-14 10:13:21] werner at aloah-from-hell dot de

Hi, 

thanks for the quick response. I did some more testing ... and it 
seems like the problem is not related to PHP. 

On one machine with PHP 5.2.12 installed:


server1:# php -n -d error_reporting=E_ALL -r 'echo iconv("utf-8", 
"iso-8859-1","abcde"), PHP_EOL;'
abcde
server1:#


server2:# php -n -d error_reporting=E_ALL -r 'echo iconv("utf-8", 
"iso-8859-1","abcde"), PHP_EOL;'
Notice: iconv(): Unknown error (29) in Command line code on line 1
server2:# 


The configure-Options for PHP are the same on both machines. Any 
Ideas? 

regards,
Werner

------------------------------------------------------------------------

[2010-01-14 10:01:23] j...@php.net

Please try using this snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

Works fine for me. Enable error reporting and displaying too..or does
it actually crash for you..? Try this:

# php -n -d error_reporting=E_ALL -r 'echo iconv("utf-8", "iso-8859-1",
"abcde"), PHP_EOL;'


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/50746

-- 
Edit this bug report at http://bugs.php.net/?id=50746&edit=1

Reply via email to