That's is the sybase_ct libraries, just for clarification.


==================BEGIN FORWARDED MESSAGE==================
I just thought I would pass this along, it might be the cause of some bug reports.
Using Linux Mandrake 7.2 and Sybase Open client 11.1.1,  php4.0.4p1.
I was getting a core (illegal instruction)
on apache startup when I had the sybase modules installed in PHP.
However, I knew it worked fine on Solaris 2.6 at work, so I was puzzled.  looking
at the backtrace, I discovered it was dumping in cs_ctx_alloc which tries
to read the locales.dat files.  Then it hit me, Sybase is very picky
about the LANG variable being set correctly for a matching record
in locales.dat.  Mine was set to "en"

The fix...  Either
1.  set LANG=C in apachectl   or
2.  add "locale = en, us_english,  iso_1" to the locales.dat in the linux section.

This can be very frustrating, I've been working with Sybase for years
and it still took me a long time to find this.  I don't know if this is
documented anywhere, but if not it would be nice to have it so.

Brian



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


===================END FORWARDED MESSAGE===================




-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to