Re: PHP 4.0 Bug #4721: Floating point numbers assume OS locale settings (see Bug #4479)
| From: | thies at digicol dot de | Date: | Wed, 31 May 2000 11:08:42 +0000 |
| Subject: | Re: PHP 4.0 Bug #4721: Floating point numbers assume OS locale settings (see Bug #4479) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-19865@lists.php.net to get a copy of this message | ||
On Wed, May 31, 2000 at 09:04:52AM -0000, advgraph@regiocom.net wrote:
> From: advgraph@regiocom.net
> Operating system: Linux RedHat 6.1
> PHP version: 4.0.0 Release
> PHP Bug Type: Scripting Engine problem
> Bug description: Floating point numbers assume OS locale settings (see Bug #4479)
>
> This Problem is related to Bug #4479 !
> With the CVS Repository from 29 May we've got the same problems.
>
> We're running RedHat 6.1 on an IntelMachine.
search for setlocate in main.c and change
setlocale(LC_ALL,"");
to
setlocale(LC_CTYPE,"");
that's the way PHP 3 works. we're working on a real fix for
that.
>
> PHP_Info from compiled version is:
>
>
> PHP Version 4.0.1-dev
> System Linux zeus.intra.net 2.2.12 #2 SMP Son Okt 24 19:47:37 CEST 1999 i686 unknown
> Build Date May 29 2000
> Configure Command
> './configure' '--with-mysql'
> '--with-apache=/usr/local/src/apache_1.3.12' '--enable-track-vars'
> '--with-oracle=/usr/oracle' '--disable-debug'
> '--enable-inline-optimization' '--enable-memory-limit' '--with-snmp'
> '--with-ldap'
>
>
> Environment-Vars are set to:
>
> Environment
> Variable Value
> USERNAME root
> ENV /root/.bashrc
> HISTSIZE 1000
> HOSTNAME zeus.intra.net
> LOGNAME root
> HISTFILESIZE 1000
> NLS_LANG american_america.WE8ISO8859P1
> SSH_TTY /dev/pts/9
> MAIL /var/spool/mail/root
> TERM xterm-color
> HOSTTYPE i386
> PATH
> /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin:/usr/netscape:/usr/oracle/bin:/root/bin
> KDEDIR /usr
> HOME /root
> INPUTRC /etc/inputrc
> ORACLE_OWNER oracle
> NLS_DATE_FORMAT DD.MM.YYYY
> SHELL /bin/bash
> USER root
> LESSCHARSET latin1
> DISPLAY zeus.intra.net:13.0
> ORACLE_HOME /usr/oracle
> LC_ALL de_DE
> LANG de
> SSH_CLIENT 127.0.0.1 1012 22
> OSTYPE Linux
> MOZILLA_HOME /usr/netscape
> LINGUAS de
> SHLVL 2
> CVSROOT /home/cvs
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany