Vincent Danen wrote:
>
> On Tue Jul 31, 2001 at 06:53:55PM +0200, Jan Dittberner wrote:
>
> > > > I just tried to use the gettext support in php, but this seems to be
> > > > broken in the Mandrake 8.0 package. An strace of php running my test
> > > > script gave this:
> > > >
> > > >
> > > > lstat64("/var/www/locale", {st_mode=S_IFDIR|0755, st_size=4096, ...}) =
> > > > 0
> > > > fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
> > > > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
> > > > -1, 0) = 0x40016000
> > > > open("/etc/services", O_RDONLY) = 4
> > > > shmat(4, 0x1, 0x1ptrace: umoven: Input/output error
> > > > ) = ?
> > > > shmat(4, 0x2, 0x2ptrace: umoven: Input/output error
> > > > ) = ?
> > >
> > > Don't know if this will help any, but I recently saw a thread about
> > > gettext in PHP on freezer-burn.org:
> > > http://www.freezer-burn.org/stories.php?story=01/07/23/4935802
> >
> > Just had a look at it, but my code was already working with 7.2 it's
> > definitely something broken in the 8.0 php gettext support. Thanks
> > for the hint, my directory structure and code is correct, I can post
> > it if anyone is interested.
>
> Can you do me a favour and try the php-4.0.6 rpms I built and put on
> www.rpmhelp.net? They seem to work fine over here, but I'm only using
> gettext() on my workstation at the moment which is running 4.0.6 (have
> not yet tried it on my 8.0 servers running 4.0.4pl1 (I believe that's
> the version that comes with 8.0)). Please let me know if you do try
> the 4.0.6 packages if they fix the problem.
It's working fine with your new RPMS thanks :-)
Jan